"Consume", "Skip", "Eat", "Munch", "Bite", or...?

div0 div0 at users.sourceforge.net
Sat Feb 20 14:00:59 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrei Alexandrescu wrote:
> There are a few other functions like that: one version takes a range by
> value, the other takes it by reference and alters it.
> 
> The question is, what is a good naming convention for expressing that?
> Other examples: findConsume, consumeFind.
> 
> 
> Andrei

chomp?
consume is probably best; it's very clear.

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLgFubT9LetA9XoXwRArf2AKDHBXyi7hHoxZFLN0yS8HZiOPiFKwCeIbpK
qNmv5S4We3wdkuRDVLAXmsg=
=01Ac
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list