On Thu, 22 Nov 2007 06:50:07 +0900, “Robert D.”
[email protected] wrote:
IOW you cannot port Java to Ruby, it will remain Java in disguise.
nonsense… you can port it just fine if you allow for design changes.
that is why I didn’t pass in start or length at all… they’re RETURN
values, not arguments.
Ryan we are not going to write Java code in Ruby only because it can
be done, are we?
IMO, Ryan’s example was farthest from writing Java in Ruby of all the
examples given in this thread.
-mental
From: Jari W. [mailto:[email protected]]
Robert D. wrote:
> Consider this, your brain has not yet used to missing parens, and it
> is actually looking for them, that already is some unnecessary work,
> right ;).
I would say my brain is scanning for some kind of separator, and the
space is too similar to the Rubish underscores, which
(sometimes) makes it harder than necessary IMO.
With good syntax highlighting, though, this is a non-issue.
indeed.
too much underscore is bad[*] (yes we camel on ruby class names)
too much parens is bad (try lisp)
too much spaces is bad (try… python? 
balance is good. choice is good. ruby is good.
kind regards -botp
[*] bad here in the sense that your senses seem to clash w your thinking

From: Robert K. [mailto:[email protected]]
Seriously: it just occurs to me that the topic of using or not using
parens seems to come up much less frequently than the topic
of whether to use curly braces or “do end” with blocks. Maybe that’s
an indication that people faster adjust to the missing parens, dunno.
yes, until they hit a dead-end on the curlies vs do-end thingy, or
ruby’s commonly surprising msg “warning: parenthesize argument(s) for
future version”
kind regards 
-botp
On Nov 21, 2007 11:20 PM, MenTaLguY [email protected] wrote:
IMO, Ryan’s example was farthest from writing Java in Ruby of all the
examples given in this thread.
I have no idea, I have not looked at his code, and for that very
reason I have not said that he has written Java code in Ruby.
I only wanted to say that it is a bad idea to write Java code in
Ruby…
That is not nonsense I feel, even if they are both GPPLs.
I even feel that it is an important property of programming languages
that they make you think in a different way, but maybe that is OT.
Cheers
Robert
On Nov 22, 2007 2:38 AM, Peña, Botp [email protected] wrote:
From: Robert K. [mailto:[email protected]]
Seriously: it just occurs to me that the topic of using or not using
parens seems to come up much less frequently than the topic
of whether to use curly braces or “do end” with blocks. Maybe that’s
an indication that people faster adjust to the missing parens, dunno.
yes, until they hit a dead-end on the curlies vs do-end thingy, or ruby’s commonly surprising msg “warning: parenthesize argument(s) for future version”
I feel much more compelled to use parens in method calls (unless it is
a single method call in one line) then in method definitions.
I see them completely useless in definitions and rather important in
calls. Given the famous warning above, Ruby seems rather to agree with
me ;).
R.