3 ms·
> who developed in Java or C++ for one or two decades Right, this is exactly my point. People think these languages (especially as they were a decade or two ag
by throwaway894345 5y ago
> who developed in Java or C++ for one or two decades
Right, this is exactly my point. People think these languages (especially as they were a decade or two ago) are representative of statically typed languages.
> Static types are at the top of the list of things that contribute almost nil and cause a huge amount of development overhead everywhere.
This is your dogma, not an established fact.
I'm glad you like Closure; no doubt it's a fun, useful language. It's probably even better than Java or C++ for many things. I'm only saying if you try different languages you might see that there are tradeoffs in features. You might still think Closure is the best, but you might at least understand why people appreciate static types.
- kaliszad 5y agoI have written some Haskell and I am quite certain, it is more practical for me to use Clojure. I know other people, who did compiler research (! see my points above about academic research) who rewrote the previous more or less exploratory Clojure solution in Haskell for better performance and other positive aspects. These are all good things. I also know about Facebook, Microsoft and other big companies using Haskell to great advantage. But the compiler e.g. is not something commercially applicable it is research, they don't have or want to sell it or make it a service. I also am not sure anybody would be interested to buy it, as they never told us about any practically applicable results (e.g. better parallelized HPC code) which was kind of the point of the research. I might be mistaken though. Anyway, the lecture and the exercises where rather good and even if it was the only thing that semester, it would justify the semester at the university for me.
- throwaway894345 5y ago> I have written some Haskell and I am quite certain, it is more practical for me to use Clojure. Certainly, but there are lots of factors beyond static types vs dynamic types. For real world projects, I might similarly use Python or JavaScript over Haskell because it will be easier to find developers, libraries, and tooling. That doesn't impugn static types, however (on the other hand, depending on the project, Haskell might be the better tool). Indeed, the type system is a relatively small, overemphasized facet of any programming language. See my comment here for elaboration: https://news.ycombinator.com/item?id=27784762 https://news.ycombinator.com/item?id=27784762