From: Josh Cheek Date: 2010-10-11T18:31:56+09:00 Subject: Re: Why does a lot of code not include parenthesis? --001485f197c44da836049254043e Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 11, 2010 at 4:04 AM, egervari wrote: > In Scala, you have the option, just like Ruby, but there is a clear > sense of when and when not to use it. It's not really arbitrary when > working with Scala code. I usually find myself just knowing when it's > best to drop the . and () and when to include it. I have no such > guideline really with Ruby, as a lot of code seems to make this choice > arbitrary. For the time being as I learn, I'm just using parenthesis > to avoid confusion. > > Oh, your ruby example is valid syntax? I will try it. There's no way I > would even conceive of writing code like that. I hope others don't > either. > > You really come across like the kind of person who goes to Japan and says "look how much fish these people eat, look how strange the roofs of their houses are, look how many characters are in their alphabet. This place sucks, it isn't at all like where I come from." --001485f197c44da836049254043e--