Naming of new lazy versions of existing Phobos functions
Ali Çehreli via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 18 11:34:54 PDT 2014
On 07/18/2014 10:59 AM, Brad Anderson wrote:
> maybe use the past participle on the ones with verbs.
I vote 100% for past participle, 20% for "with".
> - abbrev : abbreviated : withAbbrev
Haha! We can't keep it abbreviated anymore though. Wait, what? :p
> - removechars : removedChars : withRemoveChars
It is better when the verb is at the end: charsRemoved, leftStripped (of
course not to mean "has been left in a stripped state" :p),
rightStripped, etc.
Ali
More information about the Digitalmars-d
mailing list