stykzman wrote:I think what might help is some examples of each, like "here's how you'd do *this* in Python, and here's how you'd do the same thing in Ruby"...
again, I agree.
So I'll start off with the classic:
- Code: Select all
>>>print "Hello World!"
This is what the interactive interpreter would do. (Code blocks are after >>>, output is plain text.)
How does Ruby handle that?