[Tutor] rockpaperscissors
ahimsa
ahimsa@onetel.net.uk
Tue Jan 28 03:07:03 2003
On Tue, 2003-01-28 at 01:31, Sean 'Shaleh' Perry wrote:
> One of my college professors explained this as:
> <quote>
> when you go to write a function write a comment in front of it explaining its
> purpose to someone else. If you find yourself using the word 'and' more than
> once it is probably doing too much.
> </quote>
>
> I find that to be a little simplistic but generally sums up the idea well.
> While I do not comment my code like that I find the thought process can be
> quite useful.
I agree - that is a useful little reminder. Thanks :-)
--
ahimsa <ahimsa@onetel.net.uk>