The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Mike Clark on Sweet-Smelling Comments

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Lyle Johnson

Posts: 442
Nickname: lyle
Registered: Aug, 2004

Lyle Johnson is the primary developer of FXRuby, a GUI toolkit for Ruby.
Mike Clark on Sweet-Smelling Comments Posted: May 19, 2005 8:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Lyle Johnson.
Original Post: Mike Clark on Sweet-Smelling Comments
Feed Title: Lovable Lyle
Feed URL: http://feeds.feedburner.com/LovableLyle
Feed Description: This weblog typically features articles about the Ruby programming language, the Semantic Web, or whatever else is on Lyle's mind on a given day.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Lyle Johnson
Latest Posts From Lovable Lyle

Advertisement
A recent article from Mike Clark presents some good advice about comments: Keep It DRY. The "Don't Repeat Yourself" principle has wider application than the mere avoidance of code duplication. It's also a mistake to duplicate knowledge about the intent or functionality of a method in the source code's comments. As Mike notes, "If a comment already describes what the code does, then the comment is

Read: Mike Clark on Sweet-Smelling Comments

Topic: 'The amiable Dutch mastermind' Previous Topic   Next Topic Topic: More cool effects coming to prototype.js

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use