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 docum...

Boom, the startup that wants to build supersonic planes, just signed a massive deal with Virgin

Have you heard about Boom? Boom is a relatively new startup that’s aiming to build something pretty crazy. They’re not building an app… or a social network… or even some new gadget for the Kickstarter crowd. Boom wants to build planes. Really, really, really fast planes. Specifically, they’re trying to design and build a supersonic passenger plane that goes 2.2x the speed of sound. If all goes to plan, they’ll be able to shuttle people from New York to London in 3.5 hours, and SF to Tokyo in 4.5. Sound crazy? I wouldn’t disagree. It’s worth noting that the company is in the very early days for something as intensive, massive, and hugely expensive as designing and producing a passenger aircraft. They’re still working on their first prototype, and hope to fly it by late next year. But it’s also worth noting that the team behind the plane has some serious talent in its blood: the company’s 11 employees have collectively contributed to over 30 aircrafts — having worked on thin...

Build Your Own Awesome Personal 3D Avatar with Avatara

Do you use social networks and want to build your own awesome 3D avatar? Maybe you want to send someone a cute cuddly image of yourself (kind of)? Or maybe you have your own ideas of what you would do with an Avatar… Well look no further than Avatara which I discovered from the MakeUseOf directory . You can create 3d avatars out of pre-set up templates or create your own from scratch. To start, visit Avatara’s homepage . You will see this screen: Click Get Started to umm, get started! That will take you to this screen: You see that you can build your own Avatar using an uploaded head shot like the Obama one above (just an example, guys). Or roll with one of their awesome avatars. I chose to start with a blank avatar by clicking Start with a blank avatar at the bottom of the screen. That takes you to here: I clicked on the filter at the top and told it to filter out everything but male characters and then I saw this: I rolled with Buck and continued. You need to click Select...