3 ms·
Modern Java is much more terse and expressive. > What's weird to me is that other languages have the exact same ability to suffer from this problem, but for wh
by za3faran 4y ago
Modern Java is much more terse and expressive.
> What's weird to me is that other languages have the exact same ability to suffer from this problem, but for whatever reason, they do not.
When you search long enough, you'll come across such programs. Even golang that's (falsely in my experience) claimed to be concise, I've come across monstrosities written in it. If you want an example in Python, look at gsutil's or gcloud storage's implementation and try to find how many levels deep you have to dig in to find out which gateway API call they make to do the actual transfers for commands like `cp`. The fact that Python has no types (yes type hints don't get you far) makes it a much more difficult task than if you're using a static language to navigate the code base.
- DontchaKnowit 4y agoI totally agree. In my experience Java just seems to have this problem more commonly. And agreed on the Python thing. The lack of types can make debugging very painful. Also the overuse of Dict/arrays with no clear indications of the shape or keys can be brutal