First Click That Button Coded in Ruby

I’m trying to learn how to code (again). My buddy Trevor talked me in to reading this book by Chris Pine and it’s really good so far. My first task is to recreate ClickThatButton with my own code. I got a very very basic version working in Ruby and had to share. I was too excited.

This entry was posted in code. Bookmark the permalink.

6 Comments on First Click That Button Coded in Ruby

  1. Iacopo says:

    It’s always a good thing to learn programming, well done!
    I’m a self taught programmer too, I only know php and javascript, in those languages you can simply write “number++” and it’s gonna add 1 to the variable named “number”, I think it should work on ruby too, so give it a try, in the long run it’s going to save you a looot of characters!

  2. Jamie says:

    Hey,

    I’m not sure if you’ve heard about codeyear.com by the code academy.

    I’m learning to program too. I work in VFX so there are always people around me typing code like facebook updates. I’m a matte painter so more comfortable with a photoshop brush than a variable but codeyear seems AWESOME – AND ITS FREE.

  3. Nicole says:

    Hey!
    I think it’s always good to know a bit more about coding…I am a student so I was really excited too when we started programming, just basics, but was like Wow!…and yep everything by codecademy is a good source of practice. Lucky with variables! :)

  4. Eric Daigh says:

    Nick I find myself in the same boat. Why Ruby, though, vs. Objective C? Can anyone comment? Is the book general enough in nature to help learn all?

  5. Timato says:

    If you want to learn javascript check out: http://www.codecademy.com/
    Really great site that gives you a weekly goal of coding!

  6. Like a small businessperson, you’ve got no greater leverage as opposed to truth.
    Individuals will buy any situation that is ‘one to your customer.’

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>