[Issue 5140] Add __FUNCTION__

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 11 01:32:53 PST 2013


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



--- Comment #9 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-01-11 01:32:52 PST ---
I simply don't see any need to refer to a function anonymously when making a
recursive call. You can just use its name like you do anywhere else that you
call it. The _only_ advantage that I see is that you have fewer lines of code
to change when you change the function's name, but search and replace takes
care of that quite easily.

I'm not necessarily against the inclusion of __function. I just don't find the
idea useful enough to care.

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