this post was submitted on 03 Dec 2023
58 points (100.0% liked)
Programming
17432 readers
221 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Doesn't depend on programming language but something with visual debugger. You know that stuff when you can see current line of your source code highlighted, press a key to step into, step over and so on. You can see values inside your variables. You can also change your variables mid-run right form the debugger.
Because you spend 20% of your time writing bugs and the other 80% debugging them. At least make it pleasant experience (no printf-style debugging).
Back in the day I was using Turbo Pascal, Delphi, Visual Basic, C#, Java, PHP with Zend, Java Script, today I'm using Visual C++.
@MarekKnapek That's something that people love to ignore even if it's important as heck. It means nothing if someone can code in +10 languages, or if someone can type 100 lines of code in 20 seconds, and how skilled a beginner or an experienced programmer is means nothing if they do not know how to debug. I quit print-debugging almost a year ago and decided to learn to debug properly, and since then I no longer spend days trying to find any bug at all, and in general I'm a better developer.
Yes but how are you going to leave a printf('oh noes I fucked up!') statement in by mistake, for someone to find in production ten years down the line when the planets align and a strange set of circumstances occur?
That's half the fun :)