devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoC++ Momentlemmy.worldimagemessage-square108fedilinkarrow-up1943arrow-down130
arrow-up1913arrow-down1imageC++ Momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square108fedilink
minus-squarelowleveldata@programming.devlinkfedilinkarrow-up110arrow-down22·9 months agolet’s not act like Java’s error log is useful
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkarrow-up116arrow-down1·edit-28 months agodeleted by creator
minus-squarekbal@fedia.iolinkfedilinkarrow-up48arrow-down1·edit-29 months agoSuper-advanced java devs like me do it like try{} catch (Exception e) { System.out.println("something went wrong"); e.printStackTrace(); }
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkarrow-up50arrow-down2·edit-28 months agodeleted by creator
minus-squarekaffiene@lemmy.worldlinkfedilinkEnglisharrow-up4·9 months agoYeah cos everyone knows other languages are impossible to write bad code with
minus-squarelowleveldata@programming.devlinkfedilinkarrow-up11arrow-down3·9 months ago you can follow any exception down to the exact line of code Which is usually not a piece of code written by us and is caused by another piece of code not written by us either
minus-squareMyNameIsRichard@lemmy.mllinkfedilinkarrow-up9arrow-down1·edit-29 months agoDoes 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!
minus-squareBangersAndMash@lemmy.worldlinkfedilinkarrow-up1·9 months agoIs it possible to make intelliJ do this?
minus-squareMyNameIsRichard@lemmy.mllinkfedilinkarrow-up3·9 months agoI thought it highlighted the line number in blue when it was your code. I use eclipse so can’t properly remember
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkarrow-up6arrow-down1·edit-28 months agodeleted by creator
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up5·9 months agoThe same applies to using the core dump. In fact, the Python one is the lest useful of the trio.
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up1·9 months agoImplying you can’t consistently go to the same line every time and it always has what you need.
let’s not act like Java’s error log is useful
deleted by creator
Super-advanced java devs like me do it like
try{} catch (Exception e) { System.out.println("something went wrong"); e.printStackTrace(); }
deleted by creator
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
deleted by creator
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.