Re:OMG Ponies (Aka Humanity: Epic Fail)
by RyanMcGreal on Tuesday November 03, 2009 @09:21AM
(#919305)
>a language approaching Haskell's pedantic-ness
I believe the word you're looking for is "pedantry".
/pedant
Re:OMG Ponies (Aka Humanity: Epic Fail)
by LogicHoleFlaw on Monday November 02, 2009 @11:12PM
(#918562)
Can we get significant digit support too? That would make my life a happier place.
edit: the joke about the horse mispelling "main()" by force of habit made me chuckle.
What you're saying is that people will finally understand that thinking about a problem and preventing bugs before you begin is better than trying to fight fires afterwards.
I think lisp is a good example: Most lisps have a full numeric tower that automatically converts between ints and bignums and ratios as appropriate. You don't have to think about the floating-point representation of 0.3 unless you wrote (double 0.3) in your code somewhere. Correctness should be the default, because it's much easier to trade some correctness for performance. Going the other way is much harder, and most people don't need performance.
This goes a long way, but now I notice the biggest obstacle is "legacy systems". The only time I get in trouble with the Clojure numeric tower is when I want to store a Ratio in the DB.