this post was submitted on 28 Feb 2024
913 points (96.9% liked)
Programmer Humor
32410 readers
1 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
let's not act like Java's error log is useful
Super-advanced java devs like me do it like
try{} catch (Exception e) { System.out.println("something went wrong"); e.printStackTrace(); }
Yeah cos everyone knows other languages are impossible to write bad code with
Which is usually not a piece of code written by us and is caused by another piece of code not written by us either
Does your IDE not highlight the lines written by you in a different colour? Of course that doesn't help when it's an error in production!
Is it possible to make intelliJ do this?
I thought it highlighted the line number in blue when it was your code. I use eclipse so can't properly remember
skill issue
The same applies to using the core dump.
In fact, the Python one is the lest useful of the trio.
It's extraordinarily useful
Implying you can't consistently go to the same line every time and it always has what you need.