Re:On being the maintainer and sole developer of SPITBOL (2012)
by mercurial on Sunday August 23, 2015 @02:10AM
(#10104824)
Definitely. It doesn't prevent, say, off-by-one errors (and in general, errors when you manipulate several items of the same type), but if you structure your program correctly, you can be very confident about your code.
Though OCaml's errors are not always the most explicit or nicely written.
> We were talking about students' tendency to let the compiler substitute for thinking
This is actually why I use OCaml. Not going to comment on whether useful error messages are a detriment to pedagogy, but offloading thinking to the compiler is a lifesaver.