T
Tom Allison
I'm still reading "the book" and am trying to see if I got this right.
Sometimes the book isn't direct enough on "this is how you will be programming
in ruby".
Is there anything like perl strict pragma in ruby?
Scope. It seems that there are some different approaches to scope. For
example, objects created in a loop remain in scope after you leave the scope of
the iterator. So my favorite temporary variables of i, x, foo, and bar are all
now permanent variable elements in my code blocks from their first use.
True/False?
Sometimes the book isn't direct enough on "this is how you will be programming
in ruby".
Is there anything like perl strict pragma in ruby?
Scope. It seems that there are some different approaches to scope. For
example, objects created in a loop remain in scope after you leave the scope of
the iterator. So my favorite temporary variables of i, x, foo, and bar are all
now permanent variable elements in my code blocks from their first use.
True/False?