digitalmars.D - Walter & Andrei: property
- John Colvin (14/14) Apr 14 2015 This is a specific request to Walter and Andrei, not a call for
- Andrei Alexandrescu (3/15) Apr 14 2015 Yah, I consider @property an unfinished affair that needs finishing.
- John Colvin (4/18) Apr 16 2015 For cross-referencing purposes, an unpleasant consequence of the
- Andrei Alexandrescu (2/21) Apr 16 2015 Yah, saw that. It's an unforced error in the design of D. -- Andrei
- Kagamin (9/12) Apr 16 2015 struct Foo {
This is a specific request to Walter and Andrei, not a call for yet another massive debate. I'm pretty sure every view has been heard already, many times over. Walter/Andrei, can you take a final decision on this? You put a lot of effort in to DIP23 and it's just sitting there. It's a subjective topic that's been beaten to death by the community multiple times; there will never be consensus so it's a job for leadership. P.S. I noticed something missing from DIP23: How do I take an alias of an property function? Or a 0-arg member function? Or a 1-arg free function? Another way of putting it would be: is there a way to refer to the name of a function that doesn't require parens? Name as in pass-by-name.
Apr 14 2015
On 4/14/15 4:54 AM, John Colvin wrote:This is a specific request to Walter and Andrei, not a call for yet another massive debate. I'm pretty sure every view has been heard already, many times over. Walter/Andrei, can you take a final decision on this? You put a lot of effort in to DIP23 and it's just sitting there. It's a subjective topic that's been beaten to death by the community multiple times; there will never be consensus so it's a job for leadership. P.S. I noticed something missing from DIP23: How do I take an alias of an property function? Or a 0-arg member function? Or a 1-arg free function? Another way of putting it would be: is there a way to refer to the name of a function that doesn't require parens? Name as in pass-by-name.Yah, I consider property an unfinished affair that needs finishing. Maybe I'll work on it for the hackathon. -- Andrei
Apr 14 2015
On Tuesday, 14 April 2015 at 11:54:11 UTC, John Colvin wrote:This is a specific request to Walter and Andrei, not a call for yet another massive debate. I'm pretty sure every view has been heard already, many times over. Walter/Andrei, can you take a final decision on this? You put a lot of effort in to DIP23 and it's just sitting there. It's a subjective topic that's been beaten to death by the community multiple times; there will never be consensus so it's a job for leadership. P.S. I noticed something missing from DIP23: How do I take an alias of an property function? Or a 0-arg member function? Or a 1-arg free function? Another way of putting it would be: is there a way to refer to the name of a function that doesn't require parens? Name as in pass-by-name.For cross-referencing purposes, an unpleasant consequence of the current situation: http://forum.dlang.org/post/rfrhuipeaoswqsunutal forum.dlang.org
Apr 16 2015
On 4/16/15 7:40 AM, John Colvin wrote:On Tuesday, 14 April 2015 at 11:54:11 UTC, John Colvin wrote:Yah, saw that. It's an unforced error in the design of D. -- AndreiThis is a specific request to Walter and Andrei, not a call for yet another massive debate. I'm pretty sure every view has been heard already, many times over. Walter/Andrei, can you take a final decision on this? You put a lot of effort in to DIP23 and it's just sitting there. It's a subjective topic that's been beaten to death by the community multiple times; there will never be consensus so it's a job for leadership. P.S. I noticed something missing from DIP23: How do I take an alias of an property function? Or a 0-arg member function? Or a 1-arg free function? Another way of putting it would be: is there a way to refer to the name of a function that doesn't require parens? Name as in pass-by-name.For cross-referencing purposes, an unpleasant consequence of the current situation: http://forum.dlang.org/post/rfrhuipeaoswqsunutal forum.dlang.org
Apr 16 2015
On Thursday, 16 April 2015 at 14:40:38 UTC, John Colvin wrote:For cross-referencing purposes, an unpleasant consequence of the current situation: http://forum.dlang.org/post/rfrhuipeaoswqsunutal forum.dlang.orgstruct Foo { bool registered = false; void register(bool x) property { writeln("Registering ", x); register = true; } } Like this?
Apr 16 2015