3 Interactive, Fun, Free Ways To Start Learning The Ruby Programming Language
|
| ||||||||
| Compare: | Web Design Calculator | Web Design Cost Guidelines |
Are you an E-Commerce Web Designer? Add a Free Listing
Ruby is an expressive, very high-level, scripting language. It is used on the Web mainly as part of the Ruby on Rails web development framework, but also standalone. If you’re curious about what Ruby (not Ruby on Rails) feels like, you don’t necessarily need to pick up a book or go watch a screencast (although those are good ways to learn, too).
Below are three fun, simple ways in which you can try Ruby in your browser, right now, for free, without installing a single file.
Rubymonk
![ruby[3]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby3.jpg?323f2c)
Hailing all the way from India, Rubymonk offers a series of over 50 short, interactive Ruby exercises and it saves your progress. Above is what I saw when I went back to Rubymonk after leaving the website (I solved the first couple of exercises).
Let’s look at what a single exercise looks like:
![ruby[5]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby5.jpg?323f2c)
The exercise starts with a simple explanation, followed by a snippet of code. If you hit the Run button, the code is immediately evaluated and you get to see its output. Next, you get a simple assignment. Write the code you think is the right answer, and hit Ctrl+Enter to run it (or click the Run button). The Rubymonk now spits out an answer:
![ruby[7]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby7.jpg?323f2c)
Once you finish working through some of the exercises, you will be presented with a problem to solve on your own:

You get an explanation of what you need to solve, some template code to get you started, and you’re on your own. This is great, because it’s much closer to actually coding than filling in one-liners in response to narrow questions. If you get stuck, you can always click “See the Solution” and the solution will instantly appear in the text box.
Once you’re done with the first problem, you are transported to the table of contents, where you can pick and choose what you want to learn (and whether you want a lesson or a problem). Lessons look like this:
![ruby[9]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby9.jpg?323f2c)
And a problem looks like this:
![ruby[13]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby13.jpg?323f2c)
The tags are lessons which you should work through, in order to acquire the skills you need to solve the problem. The whole thing is very polished, and just generally fun to work with. Highly recommended.
Ruby Koans
The Ruby Koans are hosted over at Heroku, and are even more steeped in mysticism that Rubymonk. Check it out:
![ruby[17]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby17.jpg?323f2c)
Say what you will, but this is definitely not boring. Fill in what you think is the right answer (trivial, in this case), and hit Enter. The snippet will be evaluated, and colored accordingly:
![ruby[19]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby19.jpg?323f2c)
The Ruby Koans are a lot of fun, and they seem much more advanced than Rubymonk. They start off with asserts and testing, rather than arrays or other basic concepts. One small niggle is that your progress is not saved between koans, so you’d better bookmark where you stopped for the day. It’s not as AJAXy as Rubymonk, but I think it’s still great, and it’s a project that inspired many imitations, such as the JavaScript Koans.
Try Ruby
![ruby[21]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby21.jpg?323f2c)
Try Ruby was created as a tribute to why’s (poignant) guide to ruby (link to PDF), one of the craziest programming textbooks I have ever laid eyes on. It’s a great book for the Ruby language, and although the author no longer takes an active role in the Ruby community, I have a feeling he would have approved of the project. The website is built as a large ruby prompt, with instructions on the side:
![ruby[23]](http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/ruby23.jpg?323f2c)
The text is simple and playful (no mystical references here). You type real Ruby code in the prompt, and work through the simple exercises one by one. The whole thing doesn’t take very long.
Final Thoughts
Personally, I feel that learning by doing is one of the best ways to absorb new material. These may not make you into a code ninja, but they will definitely give you a feel for Ruby. If you’re curious about the language, pick the one you like best and take it for a spin! Let us know how it went in the comments.
Thu, 26 Jan 2012 23:31:14 GMT
Tags: coding, fun, learn language, learning, programmer tools, programming, Web Apps & Internet,
Pickerington E-Commerce | Flat Rock E-Commerce | Bonita Springs E-Commerce | Richmond Hill E-Commerce | Kingsville E-Commerce | San Fernando Valley E-Commerce | Haddon Heights E-Commerce | Fort Collins E-Commerce | Fremont E-Commerce | Kingston E-Commerce |
coding
Time To Try A Slick, New Text Editor Called Tincta [Mac]
While you may already think you've found the text editor love of your life, you could hardly stand by it honourably without giving the competition a go. So, today we'll introduce you to a sleek new player in the Mac text editor game called Tincta. It's
4 Hacker Software Tools Every Budding Coder Should Have
If you’re a computer geek, chances are you like fiddling around with things. You are, in short, a hacker. Although most hackers probably use Linux, there are some that use Windows. Maybe your business requires you to use Windows. This post covers some ess
Make A Product Review Database With WordPress: Custom Post Types, Custom Fields, Featured Images & Widgets!
Last time we showed you how to create a simple events listing using perhaps the most powerful feature of WordPress 3.0 - custom post types. After some requests to develop this further, today we’ll be creating a product review database to tie together ever
fun
5 Great New iPad Games You Should Be Playing
In what I’m hoping will be the first of a regular new MakeUseOf series, each month I’ll be showcasing 5 stunning new free iPad games (and sometimes the iPhone games too). So welcome to part one of the series. If you haven’t already done
5 Sources For Special Symbols To Spice Up Your Online Chat & Messaging
We need symbols. We might have progressed through alphabets to cultured forms of languages, but the internet age has brought us right back to where we started off as cave dwellers. Complete or incomplete sentences are fine, but sometimes nothing expresses
5 Time-Killing Google Android Apps For The Moderately Bored
Smartphones are really great for those idle moments when you're stuck waiting for short periods without the aid of a book. While many of us would turn directly to phone games for entertainment, others are more keen to read popular news stories and see th
learn language
8 Online Audio Pronunciation Guides That Help You Speak Words Correctly
It is said that the French are very particular about their language and the way it’s spoken. Pronouncing French words is rather difficult as it has lots of silent letters and syllables; even a single letter pronounced in different ways. But wait: is Engli
2 Websites & 2 Applications That Can Help When Learning Java Programming
There are plenty of people I know who'd like to know how to program, yet they're confused by how to start and what the general ideas of programming are. In addition, there are a large number of programming languages to choose from, so choosing the right
The 5 Best Websites To Learn Python Programming
Over the past decade, the Python programming language has exploded in popularity amongst programmers in all areas of coding. From web developers to video game designers to in-house tool creators, many people have fallen in love with the language. Why? Bec
Need E-commerce Design? Check out our member profiles:
Web Design in Albuquerque provides professional, high-quality web design and development services. Web Design in Albuquerque's motto is 'Making your Website Pay" & Service beyond expectations
Albuquerque, New Mexico US
R Solutions is experienced and well established and specializes in website design and e-commerce. Our website designers build fast, interactive, great looking, websites on budget!
Stone Mountain, Georgia US
Cheung Vong is a graphic/web designer who specializes in print, web, video and multimedia.
Bellingham, Washington US
Creative and Modern Web and Graphic design company. line5 Design focuses on making beautiful websites that you can use. We offer some of the best designs for E-commerce.
Guthrie, Oklahoma US
Trendy by Design is a full-service creative design company specializing in unique graphic & web design for women and small businesses. Visit us today at http://www.trendybydesign.com today!
Miami, Florida US5 Chrome Extensions That Are Going To Make Your (Browsing) Life Easier
Some people say our lives are getting harder the more technology we have While I m not here to argu
19 Astounding Wall Murals for Inspiration
Artists who create art on a grande scale go above and beyond the call of duty Whether digital or t
How To Add A Print Button To Your Web Page
You know something like adding a print button to a webpage sounds pretty simple right In this ar
How to Design a Print-Ready Business Card in Photoshop
In this tutorial I m going to show you how to design a business card which can be immediately print
How to Reengage Inactive Email Subscribers
Inactive email subscribers The ones that you mail mail and mail again for months or years
6 Important PC Tools Most People Never Use
Virtually everyone who owns a computer and is connected to the Internet knows about the security imp
10 Free MP3 Albums Exploring Shades of a Genre [Sound Sunday July 3rd]
Let Sound Sunday into your ears This Sunday I want to explore the often neglected sides of a very a
Article Tags
E-commerce Design Articles
Web Apps & Internet (374)
News (291)
Web Apps (129)
Inspiration (128)
Music (119)
iPhone / iPad / iPod (116)
cool web apps (108)
Google Android (101)
Mobile Tips (100)
Announcements (99)
deals (88)
Games & Gaming Tips (84)
Tech Deals (82)
Opinion & Polls (76)
Cool Software Apps (76)
Social Media (66)
iOS (66)
Browser Tips & Tricks (66)
iPhone Apps (59)
Freebies (58)
geeky fun (58)
Photography (58)
iphone (55)
Google (53)
troubleshoot (53)
android (52)
Photoshop (52)
Graphics (51)
facebook (50)
How-To Articles (50)
Friends:
E-Commerce Website Pricing
Web Design Quote
Website Design
Graphic Designers