Re:Ask HN: Why Haskell?
by LeonidasXIV on Sunday March 30, 2014 @08:24PM
(#7498677)
> Python usually waits until runtime to throw exceptions, even for something obvious like a syntax error.
Just a nitpick, but that is not true. Well, not completely. Python combiles its code on runtime, and at that part SyntaxError exceptions are thrown. No need to actually reach the code, since the bytecode compiler traverses the whole module anyway.
Just a nitpick, but that is not true. Well, not completely. Python combiles its code on runtime, and at that part SyntaxError exceptions are thrown. No need to actually reach the code, since the bytecode compiler traverses the whole module anyway.