Hacker News new | ask | show | jobs
by wtetzner 2641 days ago
It's only awful for debugging because the tools are awful.
1 comments

The tools for Java are greate (try C++ if you disagree).

It's the code that is the problem here.

The tools for Java are much better than those for C++. However, claiming the code is the problem is silly. I'm not going to introduce a bunch of local variables just to appease a debugger.

If splitting on separate lines makes code more readable, then sure, do that. But often it just makes the code longer and harder to follow.