foreach thoughts

Jakob Ovrum jakobovrum at gmail.com
Tue Jan 14 01:09:14 PST 2014


On Tuesday, 14 January 2014 at 09:06:23 UTC, Jakob Ovrum wrote:

> It's common to overload tokens in programming languages, and 
> it's usually only a problem for beginners who aren't used to 
> the particular language's choice of overloads yet (Ruby is good 
> example of a language with rather extreme token reuse) - humans 
> are pretty good at context-sensitive parsing. From a 
> character-by-character perspective it's particularly common, 
> with the bitwise shift operators having nothing to do with 
> comparisons, bitwise xor having nothing to do with exponents 
> etc.

BTW, I am not implying Manu is a beginner, I suspect he had 
something more specific in mind when he mentioned the 
instantiation syntax.


More information about the Digitalmars-d mailing list