From: egervari Date: 2010-10-11T13:04:39+09:00 Subject: Re: Why does a lot of code not include parenthesis? In the case of the sqrt line, those parenthesis are not required, and you're right - they are less readable. But take for example this line: y = 10.div 10.div 5 This is valid code. It produces the result "5". To me, this looks really bad though. Believe it or not, I can infer exactly what it's doing much easier by writing it this way: y = 10.div(10.div(5)) The order is very clear. See, in Scala, you don't need the "." when you drop the parenthesis, so dropping them both turns out to be much nicer and clearer: val y = 10 div (10 div 5) To me, that actually looks very nice indeed (let's assume div is also a method on Int in Scala). Of course, dropping all the parenthesis would change the result to .2 (or 0 I guess). I just think this mandatory "." without the parenthesis looks weird and is unintuitive. I think it's better to drop both, or to have both. The middle-of-the-road syntax that includes the "." just looks bad. Of course, once one gets used to it, I guess it'll become readable. Just not the most intuitive, that's all.