Phobos unit testing uncovers a CPU bug
bearophile
bearophileHUGS at lycos.com
Mon Nov 29 12:36:00 PST 2010
so:
> I have an unrelated question, this is not a criticism but an honest one.
> Why don't you write these 3 lines like:
>
> > auto r = to!real ("0x1.0076fc5cc7933866p+40L");
> > auto d = to!double("0x1.0076fc5cc7933866p+40L");
> > auto f = to!float ("0x1.0076fc5cc7933866p+40L");
I have a certain stylistic rule regarding how function calls are written in my code, and that rule is more important than such alignment. Adding spaces where I don't expect them to be slows down my visual parsing of the code. Generally in my code I've found that such kind of alignment is a waste of my time, if I change something I may need to waste time realigning things.
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list