This post originated from an RSS feed registered with Ruby Buzz
by Jim Weirich.
Original Post: Ruby in five E's
Feed Title: { | one, step, back | }
Feed URL: http://onestepback.org/index.cgi/synopsis.rss
Feed Description: Jim Weirich's Blog on Software Development, Ruby, and whatever else sparks his interest.
I’ve been listing 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