Phobos2: iota, ranges, foreach and more

Georg Wrede georg.wrede at iki.fi
Mon May 4 17:43:10 PDT 2009


bearophile wrote:
> 
> While reading the source code of Phobos2 function calls like ".front"
> confuse me, I find ".front()" more readable. I think I am not the
> only one to think like this.


The docs should be consistent and clear, also in trivial matters. If 
something is a function, then the parens should be there. The reader may 
know that you can omit the parens, but it has to be easy for him to 
recognize a name as a function.



More information about the Digitalmars-d mailing list