General information
Category:
Coding, syntax & commands
Hi Nadya,
I never meant this to get so out of hand, it started as a very flippant comment, in joke about comments being dangerous so avoiding them.
But my view is commenting is an essential part of coding, it should be done at the time of coding & fully. It shouldn't be a brief reminder to yourself, that you will expand at some later date, because the time never arises, it will always remain as a brief cryptic reminder, that some other person will have to decipher at a later date.
Paul
>Hi Paul,
>
>Today I looked into one of the program, which one of my colleague writes and maintains. She didn't put comments at all. The code looks like (this is just an extract):
> (Code cut for brevity)
>Is it possible to somebody else except her to understand this code?
>
>When I asked her, why didn't she put comments in this program, she answered:
>'Because I'm always in a hurry...'
>
>Is it a correct answer? And if somebody else should read this code and test it, it made his/her life a nightmare...
>
>That's why I always put comments into my code...
>
>Just my $.02 here...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only