[Issue 7177] $ should forward to length by default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 31 18:16:24 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7177
--- Comment #60 from bearophile_hugs at eml.cc 2013-03-31 18:16:21 PDT ---
(In reply to comment #59)
> Yes, there is a bias - frequency. My core argument is that the vast majority of
> ranges simply want $ and length to mean the same thing, and very few need to
> have them mean different things.
I have lost part of the track of this long thread.
Adding one alias to a whole class/struct container is a really small amount of
simple boilerplate code. So I think having to add it is not bad.
On the other hand in most cases such alias is desired, so it's good for it to
be the default, and have some syntax (even a longish one) to disallow it in the
rare cases when it's not desired.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list