Omittable parens is an evil
bearophile
bearophileHUGS at lycos.com
Sun Jul 20 05:42:06 PDT 2008
Tomasz Sowiñski:
> When coding, at first, I was glad to be able to snip the parens (makes code look cleaner), but then I came to the same conclusion - the illusory cleanness of code strikes back in the form of trouble with telling "something" and "do something" apart.<
I agree that omittable parens is bad, I always put them.
If parens become compulsive you don't need to use "&somefunc", you just use "somefunc" to denote the pointer/delegate and "somefunc()" to call it.
Bye,
bearophile
More information about the Digitalmars-d
mailing list