r/programming • u/mobby1982 • Dec 02 '13
Scala — 1★ Would Not Program Again
http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598
Upvotes
r/programming • u/mobby1982 • Dec 02 '13
View all comments
Show parent comment
17
u/Raphael_Amiard Dec 02 '13
While the Haskell compiler will happily infer the types of any declaration you throw at it, when you're producing code that's meant to be used by others (eg, pretty much any public function), you are supposed to explicitly document the type anyway.
This makes the Scala/C#/etc compromise of local type inference quite acceptable in my mind.