On Mon, Sep 12, 2011 at 4:16 PM, Vladimir Van Bauenhoffer <cluny_gisslaren / hotmail.com> wrote: > > Im a newbie programmer who is trying to learn Ruby after having just > learned the basics of Python. Being used to Python I very much like > having paranthesises when I code because for me it is easier to read and > I also think it looks more structured. > > I know that Ruby encourages you to not use paranthesises in most cases, > but my question is: are there any downsides to using paranthesises? I > dont know much about programming and I would very much like to know if > there is a problem with me using paranthesises pretty much everywhere in > Ruby. > > -- > Posted via http://www.ruby-forum.com/. > while there isn't anything implicitly *wrong* with using ¨Βαςεξαμover the place, IMO (and in most ruby-ists opinion probably) an overabundance of parens looks ugly. case in point: ``` "foo".to_a().length() # vs "foo".to_a.length ``` the first, with the un-needed parens is kind of ugly, the second, not so much. (in fact, the fact that i *must* include the parens with functions that take no arguments infuriates me to no end! it's like ending every line with a freaking semicolon!!! OOHHHH!!!! STAB PEOPLE!!!!!!) but in the end, it's your code, do what you will hex -- * ¨Ββμοη ισ γοομες τθαξ ωουςσΊ θττπΊ――σεςιαμθεψ®ηιτθυβ®γο* ¨Βθε χισε νασαιδΆΞεφες αςηυχιτθ αξ ιδιοτ® Τθεω βςιξωοδοχξ to their level and beat you with experience." * ¨Βπςοηςαννεςιτ ισ ωους κοτο πυωουςσεμζ ουοζ βυσιξεσσWhat you do today can be automated tomorrow. ~Doug McIlroy