3 ms·
You make a compelling argument, but I'm not totally convinced. I think for many real world problems, writing the actual program is not the hard part, it's under
by adrianN 11y ago
You make a compelling argument, but I'm not totally convinced. I think for many real world problems, writing the actual program is not the hard part, it's understanding the requirements and managing changing requirements. I'm not sure that a more expressive language is necessarily better here. Boring code that is easy to understand but twice as long is sometimes better than an elegant solution with fewer lines.
- xentronium 11y agoExpressive does not always mean "unnecessary clever", having less boilerplate is enormous advantage by itself. Consider that java until very recently didn't even have lambda expressions. You might say: but IDEs help with boilerplate! True to a point. Someone still has to sift through the tons of unnecessary generated LOC crap just to get to the issue at hand. Again, I'm not writing this to bash on java, I'm simply trying to show that search for "holy grail of programming languages" is far from fruitless, and it fills me with joy when I see more languages being developed and tried in different niches (clojure, rust, go, elixir — these are all different and awesome at the same time).
- TeMPOraL 11y ago> You might say: but IDEs help with boilerplate! True to a point. Someone still has to sift through the tons of unnecessary generated LOC crap just to get to the issue at hand. Yeah. IDEs may help with writing boilerplate, but most of the time you're not writing code - you're reading it. And every small bit of boilerplate Java adds pretty much everywhere (and C++, and C#, and other similar languages) is a bit you have to read, parse and decide if it's relevant. It obscures the meaning the code was supposed to express and make understanding the code a much more cognitively demanding task. (IDEs could help by detecting and folding boilerplate, but if they could do that, then why not just write your code in that folded-boilerplate language directly?)
- novembermike 11y agoThe problem is that Java code tends to be both boring and hard to understand. More lines of code doesn't make something more clear.