I have a suggestion.

freeagle dalibor.free at gmail.com
Wed May 16 07:59:01 PDT 2007


YonggangLuo wrote:
> i think it's will be a good idea to replace "foreach_reverse" with  "frr".
> "foreach_reverse" is too long as a keyword

I find "frr" very cryptic.

consider this:

if(reverse)
{
	frr(int i, array)
	{
		...
	}
}
else
{
	foreach(int i, array)
	{
		...
	}
}

Those keywords doesn't seem related, but would in fact provide similar 
funcitonality.

I too would like to see this "foreach_reverse" solved in other way, but 
not with another keyword

freeagle



More information about the Digitalmars-d-announce mailing list