I have a suggestion.

Anders Bergh anders at andersman.org
Thu May 17 08:59:47 PDT 2007


Would be a perfect easter egg, but I guess those have no place in a
programming language.

On 5/17/07, Bastiaan Veelo <Bastiaan at veelo.net> wrote:
> Well there is one that is
> - no longer than "foreach"
> - not a concatenation of words
> - not an abbreviation
> - rather illustrative
>
> "hcaerof"
>
> ...It is also cryptic - you can't please everyone.
>
> Just kidding.
> Bastiaan.
>
>
> Brian Byrne wrote:
> > 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 tend to side on being explicit, so I don't think "frr" would be that
> > great of a name change. But I will agree that foreach_reverse looks
> > fairly ugly (more than a keyword should).
> >
> > Anyways, along your lines I think "fer" (ForEachReverse) would be a more
> > appropriate abbreviation. I can give it association to hillbilly speech,
> > "Fer dat dem dere list [insert mental image of a scraggly old man in
> > overalls holding a list upside-down]..."
> >
> > More seriously, I think a better keyword would be rforeach, revforeach,
> > or something similarly parallel. Something about reading underscores in
> > keywords (*cough* C++) makes me cringe at the sight.
> >
> > Brian Byrne
>


-- 
Anders



More information about the Digitalmars-d-announce mailing list