Wednesday, May 16, 2007

Hackety Hack: the Coder's Starter Kit

Hackety Hack: the Coder's Starter Kit:
"YOUR FIRST PROGRAM

One of Hackety Hack's sincere pledges is to make the most common code very easy and short. Downloading an MP3 should be one line of code. A blog should be very few.

For example, our sample blog:

blog = Table('MyBlog').recent(10)
Web.page {
blog.each do |entry|
title entry[:title]
puts entry[:editbox]
end
}

TRY THESE RED GOGGLES

Presently, Ruby is the only language taught by Hackety Hack. And it's a great one to start with. Ruby was born in Japan, but has found a wealth of friends across the world. As you can see above, Ruby is a combination of simple words and punctuation."