|
It was thus said that the Great Sir Pogsalot once stated:
>Given the Maxwell's Equations of Software [1] one can start writing
> The point I was trying to make that while reading the docs is always a good
> idea, a language that is consistent with its behaviors is self-explanatory
> -- and from the perspective of the user, cleaner (imo). :-)
software to calculate pi to a million digits. Of course, Maxwell's
Equations of Software (translating it to a more modern dialect of Lisp is
left as an exercise for the reader) don't mention anything at all about
numbers, but that's okay, because what we have is a very consistent
language, and thus, building up arthmetic is trivial [2].
Although it's not very fast. And it does take an inordinate amount of
memory. But it *is* consistent!
-spc (Even Haskel had to slip in non-consistent functions [3] in order
to be useful ... )
[1] http://www.michaelnielsen.org/ddi/lisp-as-the-maxwells-equations-of-software/
[2] http://copperthoughts.com/p/set-theory-and-lisp/
[3] Non-pure---i.e. a function that has side effects.