From: Chris Uzdavinis Date: 2001-04-23T08:40:04+09:00 Subject: [ruby-talk:14051] Re: From Guido, with love... ts writes: > >>>>> "C" == Chris Uzdavinis writes: > > C> I am also impressed at how clean the code for ruby is. It was fairly > C> easy to figure out what was going on, even with its complete lack of > C> comment. (Argh!) :) > > You don't need comment when the code is very well written. Individual functions are indeed easy to read. However, to assemble a meaningful program that makes use of dozens of functions from among hundereds of functions, it's not practical to have to study the implementation of each function to know if you're using it correctly (or to know what it does.) If the names of functions are clear, that can help, but when the names do not directly relate to their behavior, unless you know what you're looking for, you will have to read through countless functions in the hopes of finding the one(s) you actually need. A short comment can be invaluable in many situations. Even good code needs some comments. -- Chris