H
Hampton
I'm planning on doing a tutorial about Ruby for Ryerson University's CS
Majors group. No one here knows anything about Ruby, so I thought it'd
be a great way to evangelize a bit. I'm always surprised how few
students actually code at all on their own. Most of them know Java and
C from class, but find them to be nothing more than class projects.
What I'm asking you guys for is if you have any short code ideas that
can be programmed *really* quickly in Ruby that might illustrate its
versatility. Some code example that would be hell to write in other
languages that would be interesting for an hour long explaination. I'd
say about 20 to 30 lines or so.
So, what's everybody's favorite smallish examples of the power of
coding with Ruby.
-hampton.
Majors group. No one here knows anything about Ruby, so I thought it'd
be a great way to evangelize a bit. I'm always surprised how few
students actually code at all on their own. Most of them know Java and
C from class, but find them to be nothing more than class projects.
What I'm asking you guys for is if you have any short code ideas that
can be programmed *really* quickly in Ruby that might illustrate its
versatility. Some code example that would be hell to write in other
languages that would be interesting for an hour long explaination. I'd
say about 20 to 30 lines or so.
So, what's everybody's favorite smallish examples of the power of
coding with Ruby.
-hampton.