+ 4

Which is hard debugging or coding?

31st Mar 2021, 4:34 PM
Carlos
Carlos - avatar
15 Answers
+ 4
Both, if you think about it they're both different forms of problem solving, just one is solving your own problems, the other is solving others problems.
31st Mar 2021, 5:30 PM
Joshua Grisewood
Joshua Grisewood - avatar
+ 3
Ig both are same in difficulty level.
1st Apr 2021, 6:55 AM
Aditya
Aditya - avatar
+ 2
Honestly? Both have their difficult parts. In a perfect world, with perfect developers and a perfect language, we'd never need to debug. But that's rarely the case. We often encounter unforeseen so-called "edge cases". How many times have you heard of some major game releasing with numerous game-breaking bugs? While that can *rarely* be the result of bad programming, it's often equally the cause of not predicting the different environment that occurs in a live game vs the one on the developers' computers. Test-Driven Development (TDD) aims to somewhat alleviate the problem of having to re-engineer the entire app due to a bug, by arguably placing the "debugging" *first*. In other words, you write the tests that you specifically want the code to pass (assuming they *won't* pass at first), and then you write the code to fit those tests.
31st Mar 2021, 5:25 PM
HealyUnit
HealyUnit - avatar
+ 2
Carlos Debugging is harder than writing code, so if you've been clever in writing code you are by definition not clever enough to debug it.
1st Apr 2021, 1:23 AM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
+ 2
When you code, you must test it frequently and be very careful. If you don't it in the end you may encounter piles of errors or bugs. Fixing some bugs(Such as when the program has no errors but does not give the required result. look at Martin Taylor comment) is very difficult and you may have to overwrite the whole program.
1st Apr 2021, 7:52 PM
Mehran
Mehran - avatar
+ 1
Me: Ok, let's do it this way Compiler: Here's the result (unexpected) Me: Hmm maybe just need to change that one line Compiler: Here's the result (wrong again) Me: Ok got a new idea, let's implement it (rewrite the snippet) Compiler: cursing and spitting out error messages Me: #$@~%^&*_ Conclusion: Ideas come and go, what seemed to be so feasible or even correct can turn into an endless debugging time. I end up searching the net for answer, to find out that I was doing it big time wrong, which explains why I got lost and spent a lot of time spinning my head around 😔
1st Apr 2021, 2:45 AM
Ipang
+ 1
Debugging - it doesn't give you the logical and analytical reasoning errors...
2nd Apr 2021, 9:57 AM
Sanjay Kamath
Sanjay Kamath - avatar
0
Debugging is. Have to go through a lot of trial and error process to get the code working.
2nd Apr 2021, 2:05 AM
Sohel Kumar Samantaray
Sohel Kumar Samantaray - avatar
0
Debugging
2nd Apr 2021, 6:26 AM
Ravi Kumawat
Ravi Kumawat - avatar
0
Debugging
2nd Apr 2021, 7:56 AM
Samuel Ojo Timmy
Samuel Ojo Timmy - avatar
0
Debugging is more hard. While coding you only care about the syntax and continue coding. But while debugging you have to check out all the written code one by one.
2nd Apr 2021, 8:06 AM
Illa Bahadur Darlami Magar
Illa Bahadur Darlami Magar - avatar
0
Martin Taylor, I have to disagree on the "amongst the simplest errors to fix" part. It all comes down to experience, a bunch of error messages can take beginners down easily, where it brings next to no effect to the experienced ones. Seeing error messages when one had just began learning a new language can be something to remember for long time. it can be a laughing stock later on when more experience has been gained. And yes, there's still issue with language barrier, where I have to copy parts of the error message to get Google Translate to help me understand.
3rd Apr 2021, 3:54 AM
Ipang