Learn The Ruby Programming Language While Having Fun With Hackety Hack

hackety hack   Learn The Ruby Programming Language While Having Fun With Hackety HackIf you have been wanting to learn Ruby, whether you are starting with zero programming experience or have a few programming languages under your belt, Hackety Hack is an easy and fun way to get your feet wet. Hackety Hack includes a built in compiler and build environment for the Ruby language, running alongside a tutorial system which will walk you through step-by-step.

Similar to Alice, which we have covered before, it is meant as a beginners tutorial to programming; however the main difference is that Alice is a GUI programming toolkit while Hackety Hack is a text-based “real” programming environment.


To begin, download Hackety Hack for your operating system. Versions are available for Windows, Mac OS X and Linux. Even though their website says that it is for 64-bit only the download worked fine on my Windows 32-bit machine so perhaps that is meant for the Mac OS X version only.

hackethack intro   Learn The Ruby Programming Language While Having Fun With Hackety Hack

Click “Ready” to begin the program.

Learning Programming Basics

Hackety Hack begins with a menu of Lessons. Begin by learning how the Hackety Hack system is set up. It will show you what each button on the left side means and what happens when you click them.

hacketyhack lessonspng1   Learn The Ruby Programming Language While Having Fun With Hackety Hack

The rest of the tutorials are geared towards beginner programmers but if you are new to the Ruby language they will also be helpful. They are witty and fun which helps while you are learning a programming language; if you have ever read a boring tutorial before you will know what I mean.

How To Program In Ruby

The first program you will write will be a “Hello World” program which is standard in computer programming language circles. Don’t try to copy and paste the program – it won’t let you and you learn the language much better when you type it out.

hacketyhack hello   Learn The Ruby Programming Language While Having Fun With Hackety Hack

From there, you get progressively difficult levels of programming from the tutorials. After you have the basics of programming including algorithms, loops, variables and so forth down; you will move on to a graphical programming toolkit included with Hackety Hack named Shoes.

The last tutorial on Hackety Hack is a basic Shoes program. Learning how to manage input boxes and the results on a graphical interface is an important step in writing a “real world” program that you can interact with. The tutorial will run you through a sample input text and output.

shoes example2   Learn The Ruby Programming Language While Having Fun With Hackety Hack

I’ve Done The Tutorials, What Next?

If you’ve finished the tutorials the fun doesn’t stop there. Hackety Hack has integration with its website allowing you to upload your own programs and view other programs folks have uploaded. These give you a better idea as to what is possible with the programming language Ruby, and as with most programming languages you are only limited to your imagination. Once you are done with the Hackety Hack tutorials, you may want to check out these other resources for learning Ruby:

Once you have outgrown Hackety Hack, download Ruby for your operating system and continue on your programming journey.

Conclusion

Hackety Hack is a great introduction to the Ruby language for programmers and non-programmers alike. I would say it is meant for anyone who has basic algebraic math skills, perhaps as young as 10 years old. But don’t let that turn you away if you are older – it is written in such a way that for even experienced programmers it is not insulting and actually it is good to go over the basics again.

I did run into a few program crashes and the lack of the ability to paste in any text, which hindered the import of some larger programs from their website. I’m not sure if this is on purpose or a bug but some paste functionality would be helpful for larger programs.

If you have been wanting to learn a programming language there is no better time than now to get started. Hackety Hack is a perfect way to get started learning Ruby. If you begin to spend a lot of time writing programs just don’t blame me!

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

8 Comments -

0 votes

Hackety Hack

Hey, thanks for the coverage!

Just wanted to answer something with regards to this:

> I did run into a few program crashes and the lack of the ability to paste in any text, which hindered the import of some larger programs from their website. I’m not sure if this is on purpose or a bug but some paste functionality would be helpful for larger programs.

These are both known bugs I’m working to fix. Windows apparently sometimes thinks that control and alt are switched, so you should be able to alt-c alt-v to copy/paste. Also, I’ve been working on the stability, and hopefully will have a new windows build out soon.

I’ve since changed the text on the downloads page, too: the 64 bit requirement is only for Macs, and a 32 bit Mac version is coming soon!

Also, I’m going to be adding plenty of Lessons in the future: this 1.0 release was specifically just the absolute basics, because I wanted to get a broader range of people using it before building tons of Lessons. And as the first part of my post says, I guess this was a good idea… I’m working to fix that stuff and then more features will come!

0 votes

Hackety Hack

Hey, thanks for the coverage!

Just wanted to answer something with regards to this:

> I did run into a few program crashes and the lack of the ability to paste in any text, which hindered the import of some larger programs from their website. I’m not sure if this is on purpose or a bug but some paste functionality would be helpful for larger programs.

These are both known bugs I’m working to fix. Windows apparently sometimes thinks that control and alt are switched, so you should be able to alt-c alt-v to copy/paste. Also, I’ve been working on the stability, and hopefully will have a new windows build out soon.

I’ve since changed the text on the downloads page, too: the 64 bit requirement is only for Macs, and a 32 bit Mac version is coming soon!

Also, I’m going to be adding plenty of Lessons in the future: this 1.0 release was specifically just the absolute basics, because I wanted to get a broader range of people using it before building tons of Lessons. And as the first part of my post says, I guess this was a good idea… I’m working to fix that stuff and then more features will come!

0 votes

Dave Drager

Love the program, glad to hear you are working out the bugs! :)

0 votes

Aibek

thanks for dropping by, looking forward for additional lessons!

0 votes

joesunga

Is there a way I can get notified once the 32 bit Mac version comes out? Thanks in advance. :)