Beautiful Code, or rather, Beaut Comments.
My code isn't worth boasting about, but I think I've written some nice comments in my time.
Here's a comment from TimeSnapper that I'm particularly proud of.
It uses an ascii diagram to describe how a bunch of constants relate to the shape of the TimeBar control:
One day, hopefully my best work will be in the code, not just the comments ;-)
(The obvious side thought is -- why can't we embed diagrams and images in the comments of our code? Or at least some kind of textile-style wiki-like markup/markdown? And how much does that thought make you shudder as a potential avenue of IDE abuse?)Next → ← Previous
My book "Choose Your First Product" is available now.
It gives you 4 easy steps to find and validate a humble product idea.