+ 1

Where should I have to do debugging in code, to make better explanation of code working.

As debugging is good practice in a code

16th Sep 2017, 4:18 AM
shivam gupta
shivam gupta - avatar
4 Réponses
+ 4
Well, bro, if you find that debugging can help, or guide you in such a way, I can say no more :)
16th Sep 2017, 7:53 PM
Ipang
+ 3
I'm afraid you misunderstood debugging with commenting mate, or at least that's how I see it through your question title. Debugging is an attempt made by programmer(s) to find & remove bugs and have a workaround to replace the buggy code. As such, you must first find the bug, once you do, you know that's where you should debug. Debugging is in no way related to making codes be more readable or explanatory, comments in code do that. Debugging is so not a good practice in programming, in fact, although we know even groups of code masters still do debugging, we also know that if we have to debug it means we're still doing something incorrectly (intentionally or not) which in turn forces us to have to spend time on debugging opposed to developing. Hth, cmiiw
16th Sep 2017, 5:38 AM
Ipang
0
Sorry for my confusing question, I make it correct.
16th Sep 2017, 4:27 PM
shivam gupta
shivam gupta - avatar
0
But bro I think debugging must be our practice, in more complex scenarios and to understand the flow of the algorithm used in the program.
16th Sep 2017, 4:32 PM
shivam gupta
shivam gupta - avatar