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
I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.