foreach thoughts

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Tue Jan 14 07:40:05 PST 2014


On Tuesday, 14 January 2014 at 15:34:40 UTC, Dominikus Dittes 
Scherkl wrote:
> I think it is. It would be far worse if the semantics were 
> related.

No. Array sub script and array initialization are both 
array-like, so no confusion. Same with "+" for concatenation (if 
you don't do implicit casting) and addition, they are both 
additive-like. The human mind categorize in a fuzzy fashion.



More information about the Digitalmars-d mailing list