[Issue 4070] prefix const on member functions considered confusing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 4 13:04:26 PDT 2012


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



--- Comment #5 from bearophile_hugs at eml.cc 2012-05-04 13:05:39 PDT ---
Symmetry is good in a language, because it makes the compiler smaller, the
language manuals smaller, and makes it simpler for programers to learn the
language. But breaking symmetry is acceptable if this helps avoid bugs.

A thread where "Manu" has found a problem caused by const prefixing:

http://forum.dlang.org/thread/CAOC+-J9Pw31mMSSnCR4kC89siNYkg27Lm7CNk7r+prRo+DQq=Q@mail.gmail.com

I invite people to add more cases in this thread.

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