[Issue 8672] %% operator

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 16 17:30:55 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8672


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #6 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-16 17:31:44 PDT ---
The whole point is that there's nothing wrong with how % works, since there is
no standard definition for it, and D implements it in one of the ways that's
very common, even if it's not what you might what. And it's not worth adding
another operator for another variation of how modulus could work. A function
does the job just fine. It's not something that merits yet another operator.

At this point, unless there's a huge advantage in putting something in the
language, we're just not going to do it. Some features may merit that, but
something that a simple function can easily do doesn't.

-- 
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