M
Mike Schwab
Is there a web site that will highlight code to show who Ruby will send
each message to? I like playing around with parentheses and the ternary
operator, and I want to explore the precedence distinction between {}
and do end.
Some find it unnecessary to remove all implied parentheses and still
strive for one-liners, but I find it makes the code more readible, and
more emulatable. I think a visual tool for learning these rules could
make Ruby more accessible.
Once that were ready, would it not be a small step to make a tool that
strips the unnecessary parens itself?
each message to? I like playing around with parentheses and the ternary
operator, and I want to explore the precedence distinction between {}
and do end.
Some find it unnecessary to remove all implied parentheses and still
strive for one-liners, but I find it makes the code more readible, and
more emulatable. I think a visual tool for learning these rules could
make Ruby more accessible.
Once that were ready, would it not be a small step to make a tool that
strips the unnecessary parens itself?