- henfredemars ( @henfredemars@infosec.pub ) English80•2 months ago
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.
- ryannathans ( @ryannathans@aussie.zone ) 44•1 month ago
As linus says, if you need to use a debugger your code is too complicated
- flying_sheep ( @flying_sheep@lemmy.ml ) 24•1 month ago
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.
- rbits ( @rbits@lemm.ee ) 12•1 month ago
Well then obviously if you use libraries, your code is too complicated
- Traister101 ( @Traister101@lemmy.today ) 6•1 month ago
Yep that’s why I refuse to use standard libraries. It just makes my code too complicated…
- Cubes ( @Cubes@lemm.ee ) English5•1 month ago
The problem is that sometimes it’s not your code that you’re debugging
- Gamma ( @GammaGames@beehaw.org ) English30•2 months ago
And when you need something more complex
console.log(1); […] console.log(2); […] console.log(3);
- Matt/D ( @mattd@programming.dev ) English24•2 months ago
More like
console.log('shit'); […] console.log('fuck'); […] console.log('ass');
- fosho ( @fosho@lemmy.ca ) English11•1 month ago
yeah and then you forget about one that makes it into a release and then see it in the console.
- arendjr ( @arendjr@programming.dev ) 11•1 month ago
This is the real reason we have linters.
- SteveFromMySpace ( @SteveFromMySpace@lemmy.blahaj.zone ) 20•2 months ago
I feel kind of bad for shooter on the left just using stuff a lot of competitive shooters use and getting roasted for it incessantly lol
- tyler ( @tyler@programming.dev ) 33•2 months ago
wait she’s getting roasted for it? I haven’t seen that. It just looks like people are making fun comparisons to me.
- SteveFromMySpace ( @SteveFromMySpace@lemmy.blahaj.zone ) 12•2 months ago
I guess it feels kind of implied but maybe that’s just me!
- Gsus4 ( @Gsus4@mander.xyz ) 6•2 months ago
Anybody who knows about this: how do those gizmos help? E.g. earplugs are useful without performance-enhancing.
- variants ( @variants@possumpat.io ) English6•1 month ago
Adjustable frames help keep the lens at the correct angle for your eyes if you tilt your head a certain way from my understanding. So if you tilt your head at a certain angle you can adjust the frame to keep your prescription from getting out of focus at that specific head tilt
- SteveFromMySpace ( @SteveFromMySpace@lemmy.blahaj.zone ) 4•2 months ago
It’s all about directing eyes and blocking distractions
- psud ( @psud@aussie.zone ) 2•1 month ago
High tech blinkers
- zero ( @zero@lemm.ee ) 1•1 month ago
if you look closely you can actually see a literal blinder over her left eye! the reason it helps is because precision shooting is all about repeatability, and both eyes open is a more repeatable position than closing one eye exactly the same way every time
- GBU_28 ( @GBU_28@lemm.ee ) English13•1 month ago
Beep
Boop
Gloop
Glorp
Yeet
Yo
- Aabbcc ( @Aabbcc@lemm.ee ) 3•1 month ago
“Hello worl” if I need something quick
“AAAAAAAAAAAAAAAAA” if I’m lazy and don’t want to have to hunt the output logs for it
- sheepishly ( @sheepishly@fedia.io ) 1•1 month ago
That’s me… I do that…
- pimeys ( @pimeys@lemmy.nauk.io ) 5•1 month ago
dbg!(1)
all the time… - anti-idpol action ( @pkill@programming.dev ) 5•2 months ago
tfw I recently worked on a side project where I was too lazy to change the log level but not sloppy enough to use raw
printf
so I’d just throw stuff into info and then remove the statements once I solved my issue- noproblemmy ( @noproblemmy@programming.dev ) 3•1 month ago
After all, that’s why git is there, to help me remember the shit I put all over the place. (Ok, it might have some other uses.)