[Issue 4070] prefix const on member functions considered confusing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 11 09:02:23 PDT 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #4 from bearophile_hugs at eml.cc 2010-04-11 09:02:16 PDT ---
Thinking some more about this I can add:

A possible piece of the Zen of D language: Special cases in the language are
bad, but sometimes they can be acceptable if they turn a consistent behaviour
that can lead to mistakes/bugs into a good compile-time error.

An example of this is disallowing: for(int i;i<10;i++);

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