I’ve been listening to David
Heinemeier Hansson talk on the "Ruby on Rails" project
(download the talk here). I really like
his summary of Ruby slide which he calls "Ruby in five
E’s".
I’ll reproduce his summary here:
Everything is an object
5.times do print "hello world".capitalize end
Elegant blocks gives inline power
db.select_all(sql).inject([]) do |objects, row|
objects << instantiate(row)
end