Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continued comments ...
Message
 
 
To
24/03/2000 08:10:34
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00348010
Message ID:
00350011
Views:
56
Paul,

Yes, I agree. I just showed an example, that some of my colleagues avoiding comments at all. The code now is absolutely unreadable...

BTW, question to ED. Several our programmers spent a lot of energy and time, doing different string manipulations, e.g. we have one string at the entry point of program and it should be converted using the standard pattern to another bigger string at the exit. Of course, the entry strings may vary in different ways (sometimes without pattern at all). Reading banch of Ed's messages recently, I have an impression, that it could be done automatically using WSH. Am I right? Is there a speed benefit also?

Thanks in advance.



>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...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform