[Issue 7176] Lambda => syntax for function and methods too
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 18 17:45:30 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7176
David Piepgrass <qwertie256 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qwertie256 at gmail.com
--- Comment #8 from David Piepgrass <qwertie256 at gmail.com> 2012-07-18 17:45:27 PDT ---
+1 from me. Limited C compatibility is one thing, but why should everything in
D look like C? Although I've written more code in C/C++ than any other
language, I haven't enjoyed it for many years now. I want a language that makes
me more productive, and I often use small functions (many of which return void
regardless of the expression type, btw, so that should be allowed.)
On the other hand, a lot of the small functions I write are boilerplate such as
property getters and forwarding functions in decorators, so maybe instead of a
special lambda syntax, what I really want is a few metaprograms to write those
functions for me.
--
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