Saturday, December 09, 2006

“ Ruby’s the only language I’ve ever used that feels like it was designed by a programmer, and not by a hardware engineer (Java, C, C++), an academic theorist (Lisp, Haskell, OCaml), or an editor of PC World (Python). ”

William Morgan

I tend to agree, and would add that Ruby is really nice at making code easy for humans to understand. Anyone who knows me knows that I put a *lot* of comments in code, but I find I do this less with Ruby on Rails, it's pretty redundant to say:


# Make an Array with the names of all the users
@users = User.find(:all)


Nowadays, I tend not to comment these common Ruby idioms, but instead have comments for each method as to what the overall plan for the method is.

I heart Ruby.