[Issue 9676] Deprecated declarations should be wrapped in a $(DEP) macro

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 12 17:48:07 PDT 2013


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



--- Comment #4 from bearophile_hugs at eml.cc 2013-03-12 17:48:06 PDT ---
Walter:

>the default expansion for deprecated symbols should be to nothing. Otherwise, people will continue to use them.<

I think this isn't a good idea. If I am using a function in my code and it's
deprecated this forces me to go read the source code.

If you don't want a function to be visible in the documentation then replace
its /**...*/ and /// with /*...*/ and //.


In Scala deprecated names are clearly visible as deprecated, but they aren't
invisible, I think this is the right default:

http://twitter.github.com/algebird/com/twitter/algebird/BloomFilterMonoid.html

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