Skip to main content

TryRuby is an awesome way to learn a new programming language

tryruby
Ruby is one of those trendy programming languages. It's supposed to be all "elegant" and stuff. 37signals uses it, and it has one of the craziest textbooks I have ever seen in my life. In other words, it's a language that's trying hard to woo my inner hipster, and I must say, it's kind of working.
Programming Language Pragmatics, Third EditionSo, I started playing around with it. I made a simple script, modified another script and did all the stuff most people usually do when they set out to tinker with a new programming language. Then, I found the perfect complement to my learning system: TryRuby.org.
It's an interactive Ruby shell that guides you through a really fun -- and somewhat offbeat -- tutorial. Rather than you following along, you might say that it follows you. You can do anything you want and play around and test stuff, but as soon as you execute the specific line that the program was waiting for, it moves on to the next screen. There's one lesson online at the moment, and it takes you through the bare essentials in just 15 minutes. Not everything worked perfectly for me (the file reading functions didn't work), but it was still a very nice experience and an innovative learning system.
The site was originally created by why the lucky stiff, that mythical Ruby figurehead who completely vanished off the scene and made an interesting story into a fascinating one. But why, _why's story is for another time, I guess. What you need to know is that the writing on the site is quirky and interesting, and it has been taken over by a developer who goes by the name "Sophrinix" and told me, over email, that new lessons are coming soon.

Try it out, and stay tuned for the next lesson!

Comments

Popular posts from this blog

How To Hide Text In Microsoft Word 2007, Reveal It & Protect It

Sometimes what we hide is more important than what we reveal. Especially, documents with sensitive information, some things are supposed to be ‘for some eyes only’. Such scenarios are quite common, even for the more un-secretive among us. You want to show someone a letter composed in MS Word, but want to keep some of the content private; or it’s an official letter with some part of it having critical data. As important as these two are, the most common use could involve a normal printing job. Many a time we have to print different versions of a document, one copy for one set of eyes and others for other sets. Rather than creating multiple copies and therefore multiple printing jobs, what if we could just do it from the same document?  That too, without the hassle of repeated cut and paste. We can, with a simple feature in MS Word – it’s just called Hidden and let me show you how to use it to hide text in Microsoft Word 2007. It’s a simple single click process. Open the document

Clip & Convert Your Video Faster With Quicktime X & The New Handbrake 64-bit [Mac]

Recently a friend of mine asked for my help to find a video of a good presentation to be shown to one of his classes. He also requested for it to be iPod friendly as he would also distribute the video to his students. Three things came to my mind: Steve Jobs, Quicktime and Handbrake . Mr. Jobs is well known for his great presentations which are often used as references. I have several Apple Keynotes videos. For my friend, I decided to choose the one that introduced MacBook Air – the one that never fails to deliver the wow effect to the non-techie audience. It’s a part of January 2008 Macworld Keynote. First step: The Cutting To get only a specific part of the Keynote, I clipped the 1+ hour video into about 20 minutes using Quicktime X (which comes with Snow Leopard). I opened the movie using Quicktime X and chose Trim from the Edit menu ( Command + T ). Then I chose the start and end of my clip by moving both edges of the trimming bar to the desired position. To increase th

Ex-Skypers Launch Virtual Whiteboard Deekit

Although seriously long in the tooth and being disrupted by a plethora of startups, for many years Skype has existed as an almost ubiquitous app in any remote team’s toolkit. So it seems apt that a new startup founded by a team of ex-Skype employees is set to tackle another aspect of online collaboration. Deekit, which exits private beta today, is a virtual and collaborative whiteboard to help remote teams work smarter. The Tallinn, Estonia-based startup is headed up by founder and CEO, Kaili Kleemeier, who was previously a Head of Operations at Skype. She and three colleagues quit the Internet calling giant in 2012 and spent a year researching ideas in the remote team space. They ended up focusing on creating a new virtual whiteboard, born out of Kleemeier’s experience collaborating with technical teams remotely, specifically helping Skype deal with incident management. “Working with remote teams has been a challenge in many ways – cultural differences, language differences, a