I gotta say, this is how I write code myself - I try to make sure that there's no need for comments.
There was this guideline I read, in "refactoring" I think that said that if you find yourself writing a comment explaining what a block of lines does, refactor that code into a function, and the comment should become the function's name.
2 comments:
Nice!
I gotta say, this is how I write code myself - I try to make sure that there's no need for comments.
There was this guideline I read, in "refactoring" I think that said that if you find yourself writing a comment explaining what a block of lines does, refactor that code into a function, and the comment should become the function's name.
Keep up the good work!
definitely keep up the good work (damn i'm not the only reader of this;) (yea yea, I'm your fan from across the sea - long time ;)
Post a Comment