imports and a data structure (any critique welcome)

bearophile bearophileHUGS at lycos.com
Fri Dec 27 09:04:24 PST 2013


Timon Gehr:

> https://d.puremagic.com/issues/show_bug.cgi?id=11558

We are getting there :-)


> but implying that you are somehow ethically superior and that I 
> am not human seems to go a little far. :o)

Sorry. In my opinion that kid of code is not very readable, 
spaces help to eye to chunk the code better.


> They hurt there because they add noise and don't help.

The parentheses in "(x < $) ? x : 0" are not necessary, but they 
help chunk the code, the first chunk is the condition. This is 
especially useful when that condition gets a little longer.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list