Another idiom I wish were gone from phobos/druntime

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 4 17:50:57 PST 2015


On Thu, Feb 05, 2015 at 01:34:47AM +0000, deadalnix via Digitalmars-d wrote:
> On Thursday, 5 February 2015 at 01:07:56 UTC, Andrei Alexandrescu wrote:
> >Would introduce an exception to our brace-on-its-line rule.

Which is already blatantly violated everywhere in single-line functions.


> Will I start the next world war if I mention this rule is only useful
> to eat vertical space on my screen (especially when using contracts) ?

It's an example of blindly adhering to the letter of the rule while
violating the spirit of the rule, which is to make code more readable.


T

-- 
Change is inevitable, except from a vending machine.


More information about the Digitalmars-d mailing list