tecosystems

Learning Ruby

Share via Twitter Share via Facebook Share via Linkedin Share via Reddit

After spending most of yesterday trudging up and down swampy, beaver dammed flats along the North fork of the Snake river near Keystone (no pics, cloudy day) in a fruitless search for trout, I’m taking it easy today and decided to do something I’ve meant to do for a while now: start coding a bit. Nothing significant, mind you – as mentioned before, I’m far too lazy to ever be a good developer – but enough to at least be able to get my hands dirty with some of the tools and languages that have evolved since I was last hacking around with the likes of VB script, PHP, Powerbuilder, and, yes, not too long ago, COBOL.

After debating what language to try and jump back in with, I settled on Ruby (sorry Ryan ;). The reasoning was simple: I wanted something dead simple and easy to learn, with a sizable community behind it. Java and C# were out on the first score – highly productive languages both, but a bit ambitious for my initial reentry into the programming world. Still on the radar where Perl, PHP, Python, and Ruby. I’ve got some experience with Perl and PHP having run into them here and there, and given that I can usually at least figure out what’s being done if not create new applications from scratch, I passed on these two because I wanted to learn from a blank slate. That left Python and Ruby, and while I have a lot of respect for Python (that’s what Portage is written in, so how could I not?), I’ve been too impressed by the productivity that developers are claiming with Ruby to ignore it. So Ruby it is.

Because I’ll be doing this on my spare time, I expect progress to be very slow. But having made it through data structures in this primer in less than an hour and a half this morning, I have to say that Ruby’s ease of use is everything that I expected it to be and more. From loops to arrays, everything in Ruby is simple, and operates just as you’d expect. Apart from a relative dearth of Ruby texts (Tattered Cover doesn’t have any, nor did Powell’s when I visited their booth at OSCON) that I expect to be remedied very shortly, the availability of tutorials and other learning materials on the web and elsewhere is excellent.

Will have more on my adventures with Ruby periodically (and probably infrequently).

3 comments

  1. You might like to check out http://www.poignantguide.net/ruby/ — it's in Joel Spolsky's new book on the best software writing.

  2. thanks Donnie, i have the Poignant Guide on my too read list. it's been recommended to me by a few folks now, so it's clearly worth reading.

  3. Yup, Why's guide is both informative AND hilarious, always a plus.

    Once you're handy with some of the basic stuff, GET THE PICKAXE ( http://www.pragmaticprogrammer.com/titles/ruby/in… ). Not as funny as Why's guide, but, put simply, the singular best Language Book I have ever read.

    It heavily encourages pragmatism too, which is a plus.

    Aside: Suprisingly, both Borders and Barnes and Noble carry the Pickaxe.

Leave a Reply

Your email address will not be published. Required fields are marked *