sabreW4K3 ( sabreW4K3@lazysoci.al ) to Programmer Humor@programming.dev · 2 年前print('here1');lazysoci.alimagemessage-square24linkfedilinkarrow-up1443
arrow-up1443imageprint('here1');lazysoci.alsabreW4K3 ( sabreW4K3@lazysoci.al ) to Programmer Humor@programming.dev · 2 年前message-square24linkfedilink
minus-squarehenfredemars ( henfredemars@infosec.pub ) linkfedilinkEnglisharrow-up83·2 年前All the debugging tools in the world doesn’t beat an excellent sense of intuition and putting that print statement exactly where it needs to be.
minus-squareryannathans ( ryannathans@aussie.zone ) linkfedilinkarrow-up44·2 年前As linus says, if you need to use a debugger your code is too complicated
minus-squareflying_sheep ( flying_sheep@lemmy.ml ) linkfedilinkarrow-up24·2 年前He works on Linux where he controls the whole stack down to the metal and I love that for him, but other people have to call library code, and them debug that if it doesn’t work as they thought it would.
minus-squarerbits ( rbits@lemm.ee ) linkfedilinkarrow-up13·2 年前Well then obviously if you use libraries, your code is too complicated
minus-squareTraister101 ( Traister101@lemmy.today ) linkfedilinkarrow-up6·2 年前Yep that’s why I refuse to use standard libraries. It just makes my code too complicated…
minus-squareCubes ( Cubes@lemm.ee ) linkfedilinkEnglisharrow-up5·2 年前The problem is that sometimes it’s not your code that you’re debugging
All the debugging tools in the world doesn’t beat an excellent sense of intuition and putting that print statement exactly where it needs to be.
As linus says, if you need to use a debugger your code is too complicated
He works on Linux where he controls the whole stack down to the metal and I love that for him, but other people have to call library code, and them debug that if it doesn’t work as they thought it would.
Well then obviously if you use libraries, your code is too complicated
Yep that’s why I refuse to use standard libraries. It just makes my code too complicated…
The problem is that sometimes it’s not your code that you’re debugging