Re:Show HN: Java Bullshifier
by antoineMoPa on Tuesday November 22, 2016 @08:42PM
(#13019263)
Well placed print statements. I print only a few things. Of course, in Java & eclipse, it is hard to see the result because so much stuff gets printed (The stack trace, Maven showing useless details, tomcat doing the same, etc.).
In C/C++/rust/JavaScript/Python, the last things you see on a failed build/run is usually the detail that will help you fix the problem. The information is organized to be read by someone.
Re:Show HN: Java Bullshifier
by whitenoice on Tuesday November 22, 2016 @09:46PM
(#13019551)
You can easily control logging level with slf4j etc, you can run maven in quiet mode if you want to see only errors. I don't think these are java lang issues, its more of a people problem that they don't quite understand the language and the tools they use in depth.
Re:Show HN: Java Bullshifier
by frugalmail on Wednesday November 23, 2016 @02:07AM
(#13020722)
I've done my fair share of work in those languages and it almost never has anything to do with the last line. Typically following back into some stupid === vs. == error or some dynamic typing issue many frames up the call stack. Even C++ is a nightmare to traceback when you use boost/STL heavily
How do you debug your non-trivial applications: sprinkling print statements, some real time debugger, channeling your chosen god?
Why do you think that's better?