Tuesday
Mar222011
A note on comments in code
Documenting code is a mandatory practice for developers. Some don't comment their code but I suspect that most of developers do write comments in their code in order to explain what the code is doing and why. Today, I decided to kind of hide my own comments in my code by reducing the alpha value for comment text to 30%.
The effect of this change is to make the comment less obstructive in code. They kind of vanish and make the actual code stand out bit.
|
Post a Comment |
Post a Comment | 




Reader Comments