3 ms·
> Like, are there devs using debuggers when they don't make sense? I don't often drop into a debugger just for fun. Yes. Older developers tend to debug with co
by shortcake27 3y ago
> Like, are there devs using debuggers when they don't make sense? I don't often drop into a debugger just for fun.
Yes. Older developers tend to debug with console/echo/print etc. Somewhere along the line this was deemed “bad practice” and now there are devs who will exclusively use the debugger for everything because they were taught it’s the “correct” way.
People will do what they’re taught. I grew up with console/echo/print so that’s how I roll. I never use the debugger, to my detriment. Conversely, people who grew up exclusively using the debugger will use the debugger for everything even when it would be way faster to just dump some data.
- wizofaus 3y agoI learned to program, even in assembly, before quality debugging tools were available (or I knew about their existence), so very much relied on "debug manually using log output". But once proper debuggers were a thing and I learned how to use them I never looked back. In fact I often use debuggers to step through new (or new-to-me) code even if it does appear to be producing the right output as I've seen too many times there are bits of unexpected behaviour along the way that are virtually guaranteed to cause a problem at some point (including cases where errors were occurring but being swallowed/ignored).