3 ms·
But it's those problems that keep me away from static typed languages. When I had to use Java for a project, most of the time I was casting objects around, bec
by k__ 12y ago
But it's those problems that keep me away from static typed languages.
When I had to use Java for a project, most of the time I was casting objects around, because libA didn't use stuff libB needed etc.
- lmm 12y agoJava is far from state of the art (which is fine, it has different priorities). In Haskell/Scala/F#/OCaml the language can do a lot more of the typing for you, without sacrificing any of the safety advantages.
- enneff 12y agoThe Java ecosystem is pretty painful like that. Go's ecosystem is a lot more consistent, in my experience. Honestly, the difficulty expressed by the GP here is way oversold. I spent a decade using dynamically typed languages and I slid into Go with little difficulty. I really appreciate static typing now.