# New to Ruby, New to Programming

**URL:** <https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057>\
**Category:** Ruby\
**Created:** [September 24, 2009, 7:37am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057 "2009-09-24T07:37:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 7:37am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/1 "2009-09-24T07:37:47Z")

</div>

I just started programming about a month ago. I’ve started learning  
Ruby, C++, and Java just to get a feel for languages. I’m really liking  
ruby but I’m getting bored of doing super basic programs.(No more Hello  
World’s) At the same time I’m totally lost when looking at any of the  
code snippets posted on this forum. I was wondering if anyone had any  
suggestions for getting better/more familiar without taking a class(I’m  
going to take one next semester at school)

Thanks for your time,  
Blackice115

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 7:43am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/2 "2009-09-24T07:43:30Z")

</div>

On Thu, Sep 24, 2009 at 6:37 AM, Jon K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I just started programming about a month ago. I’ve started learning  
> Ruby, C++, and Java just to get a feel for languages. I’m really liking  
> ruby but I’m getting bored of doing super basic programs.(No more Hello  
> World’s) At the same time I’m totally lost when looking at any of the  
> code snippets posted on this forum. I was wondering if anyone had any  
> suggestions for getting better/more familiar without taking a class(I’m  
> going to take one next semester at school)

You could always read through Chris P.'s ‘Learn to Program’. Its an  
introductory  
programming book with the examples in Ruby. Now in second edition, from  
Pragmatic Press.

Richard.

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 7:57am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/3 "2009-09-24T07:57:33Z")

</div>

On Wed, Sep 23, 2009 at 10:37 PM, Jon K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I just started programming about a month ago. I’ve started learning  
> Ruby, C++, and Java just to get a feel for languages. I’m really liking  
> ruby but I’m getting bored of doing super basic programs.(No more Hello  
> World’s) At the same time I’m totally lost when looking at any of the  
> code snippets posted on this forum. I was wondering if anyone had any  
> suggestions for getting better/more familiar without taking a class(I’m  
> going to take one next semester at school)

(1) Get a good basic book on the language you are learning (for Ruby,  
I like Programming Ruby [1.9] by Dave T.), both to read through  
linearly and to use as a reference,  
(2) Get things to try to do that are more involved than “Hello World”,  
but where what you need to do is fairly well defined; some of the  
quizzes from the various incarnations of Ruby Q. work for this –  
and there are some similar things on the web that aren’t Ruby  
specific; if you can find descriptions of basic algorithms (Wikipedia  
is a decent enough starting point for these), implementing them in the  
language you are trying to learn can help you get a feel for the  
language,  
(3) Figure out something you’d like to do for yourself, and try to  
build it a piece at a time.

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 8:05am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/4 "2009-09-24T08:05:17Z")

</div>

Thanks a lot. I just ordered that book. I’ve been doing more complex  
things then hello world. I’ve just been coming up with idea’s and  
executing them. For example I did a salary calculator where I enter a  
salary and then it puts it in an income tax bracket and shows you  
monthly pay after taxes. I’ve been doing a lot of things like that, i’m  
just running out of idea’s and having a hard time motivating myself to  
think of more app ideas. These books sound great and I think they are my  
next step.

Thanks again.  
Jon

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/5 "2009-09-24T13:10:46Z")

</div>

At 2009-09-24 01:37AM, “Jon K.” wrote:

> I just started programming about a month ago. I’ve started learning  
> Ruby, C++, and Java just to get a feel for languages. I’m really liking  
> ruby but I’m getting bored of doing super basic programs.(No more Hello  
> World’s) At the same time I’m totally lost when looking at any of the  
> code snippets posted on this forum. I was wondering if anyone had any  
> suggestions for getting better/more familiar without taking a class(I’m  
> going to take one next semester at school)

Check out [http://rosettacode.org](http://rosettacode.org)

Loads of problems with (and without) implementations in the languages  
you’re learning and tons of others. You can write solutions without  
looking at code already posted and compare.

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 8:08am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/6 "2009-09-24T08:08:05Z")

</div>

From: “Christopher D.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> (2) Get things to try to do that are more involved than “Hello World”,  
> but where what you need to do is fairly well defined; some of the  
> quizzes from the various incarnations of Ruby Q. work for this –  
> and there are some similar things on the web that aren’t Ruby  
> specific; if you can find descriptions of basic algorithms (Wikipedia  
> is a decent enough starting point for these), implementing them in the  
> language you are trying to learn can help you get a feel for the  
> language,

For example,this site holds the first 156 quizzes: [http://rubyquiz.com/](http://rubyquiz.com/)  
(there are a couple other subsequent ruby quiz sites - I’m not sure  
what number we’re up to now.)

Examples of quizzes that might be suitable for beginners:  
(Warning, if you scroll down too far on the page, you will see the  
solutions listed!)

[Ruby Quiz - LCD Numbers (#14)](http://rubyquiz.com/quiz14.html) LCD numbers  
[Ruby Quiz - Roman Numerals (#22)](http://rubyquiz.com/quiz22.html) Roman Numerals  
[Ruby Quiz - Morse Code (#121)](http://rubyquiz.com/quiz121.html) Morse Code  
[Ruby Quiz - Animal Quiz (#15)](http://rubyquiz.com/quiz15.html) Animal Quiz  
[Ruby Quiz - Dungeon Generation (#80)](http://rubyquiz.com/quiz80.html) Dungeon Generation

etc.

Hope this helps,

Bill

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/7 "2009-09-24T18:15:14Z")

</div>

I forgot to mention a couple things earlier. You could check out Why’s  
Poignant Guide to Ruby. It’s a book that has been the reason for many  
people falling in love with the language. It’s somewhat eccentric, but  
very well written and fun. Why was the creator of Shoes to, you should  
know. Here’s the book:  
[http://cloud.github.com/downloads/devyn/shoes-web/whys-poignant-guide-to-ruby.pdf](http://cloud.github.com/downloads/devyn/shoes-web/whys-poignant-guide-to-ruby.pdf)

Another fun thing you can do for programming in general is automation of  
different things. Using AutoIt V3 (  
[AutoIt Scripting Language - AutoIt](http://www.autoitscript.com/autoit3/index.shtml) ) for windows  
automation, if you have a windows machine anywhere, can be extremely  
fun. It was my start in programming. It was really fun for me because I  
was automating the playing of online text-based MMORPGs, but you can do  
all sorts of stuff. And it’s a treat to see your computer act out real  
user movements that you’ve programmed it to, like seeing a car running a  
race track without a driver!

Anyways, I’ll end with a piece of totally unsolicited advice: You should  
always have fun when programming. Well, sure, sometimes it’s a pain, but  
it should be fun overall at least. So try to find the most fun things  
you can do and go for it. Just learning a language without applying it  
in a fun way can get boring very fast, unless you have some other deep  
motivation to learn programming.

- Ehsan.

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 25, 2009, 4:35am UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/8 "2009-09-25T04:35:19Z")

</div>

I just wanted to say thank you for everyones great responses. This is by  
far the best forum experience that I have ever had. I ordered a couple  
books, and started using a few of the mentioned programs. Everything is  
going along really well.

Thanks so much,  
Jon K.rman

---

<div class="post-metadata">

**Author:** ![jonk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c2a13f/32.png) [@jonk](https://www.ruby-forum.com/u/jonk)\
**Post date:** [September 24, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/new-to-ruby-new-to-programming/176057/9 "2009-09-24T18:01:11Z")

</div>

> I just started programming about a month ago. I’ve started learning  
> Ruby, C++, and Java just to get a feel for languages. I’m really liking  
> ruby but I’m getting bored of doing super basic programs.(No more Hello  
> World’s) At the same time I’m totally lost when looking at any of the  
> code snippets posted on this forum. I was wondering if anyone had any  
> suggestions for getting better/more familiar without taking a class(I’m  
> going to take one next semester at school)

Hey! You should take a look at Shoes. It’s a ruby-based domain specific  
language for GUIs. It’s tremendously rewarding for a beginner to see the  
effects of their work visually, and Shoes is perfect as it is made with  
beginners in mind, so it’s not too hard to use.

It comes with a nice, built-in manual, which you can read to get an idea  
of use, and lots of sample apps. The shoebox website also has many apps  
that others have made and posted, so that’s a good source, and there are  
also many tutorials around the web for shoes. It’s simple to get started  
with, but you can go pretty far with it, very far beyond “super basic  
programs” if you need to. Just come up with ideas for desktop programs,  
a simple game perhaps, and start figuring out how to make it with the  
built-in manual.

The shoes website is temporarily [http://shoes.heroku.com](http://shoes.heroku.com) and if you have  
any problems, you can always ask in the google group  
[http://groups.google.com/group/shoooes/](http://groups.google.com/group/shoooes/)

The shoes community is quite active, and helpful, and I think it’s a  
great start for programmers. In fact, a couple of people have done  
“Introduction to Programming” classes to kids using Shoes, because it’s  
fun and generates a lot of interest, and isn’t too difficult to get  
started. Have fun! 🙂

- Ehsan
