Search
Goodies

Social Networks
Designs I Like
« Promoting a paid app with a free version [Updated] | Main | Tapptics - another great resources for starters »
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.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>