Re:Statically Typed Languages Encourage Bad Code
by sz on Tuesday October 19, 2010 @11:49PM
(#1809885)
Yep. Haskell is a perfect counterexample (everything is inferred).
Re:Statically Typed Languages Encourage Bad Code
by silentbicycle on Wednesday October 20, 2010 @12:04AM
(#1809926)
Haskell has a lot of other quirks, for better and worse. Harrrrrdly perfect, but not touching that one.
The main point is that modern static typing eliminates those stupid, tedious, verbose type annotations, as well as the stupid Python "I decided to crash because calcVaule(input) does not exist, but OMFG how could I have possibly known until I got there" errors.
The article is complaining about the problems that have been thoroughly solved for decades. Which is totally cool; if you want me, I'll be here in the corner howling about Nixon and Disco.
On the other hand, if someone seriously proficient in OCaml were to criticize static typing (in general, not just implementation details in some given language), I'd be all ears.
Loud ignorance + linkbait title? Flagged. Python is a fine language, it's too bad some of its buzz is so ignorant.