www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - From the D Blog: The Evolution of the accessors Library

reply Mike Parker <aldacron gmail.com> writes:
Ronny Spiegel from Funkwerk has written an article for the D Blog 
describing the background of the company's open source accessors 
library & how it works. accessors can be used to automatically 
generate property getters & setters.

Blog:
https://dlang.org/blog/2017/09/06/the-evolution-of-the-accessors-library/

Reddit:
https://www.reddit.com/r/programming/comments/6yfm6y/accessors_is_an_open_source_library_for/
Sep 06
parent reply Joakim <dlang joakim.fea.st> writes:
On Wednesday, 6 September 2017 at 13:32:14 UTC, Mike Parker wrote:
 Ronny Spiegel from Funkwerk has written an article for the D 
 Blog describing the background of the company's open source 
 accessors library & how it works. accessors can be used to 
 automatically generate property getters & setters.

 Blog:
 https://dlang.org/blog/2017/09/06/the-evolution-of-the-accessors-library/

 Reddit:
 https://www.reddit.com/r/programming/comments/6yfm6y/accessors_is_an_open_source_library_for/
Nice post, interesting usage. Some edits: - "That true" -> "That's true" - add two commas: "accessible annotations, similar to UDAs (User-Defined Attributes) were" -> "accessible, annotations, similar to UDAs (User-Defined Attributes), were" - There's no resolution to the Flag type issue: you should say whether you filed a bug, as you did with the issue in the private classes section, or if you were able to work around it.
Sep 06
parent Mario =?UTF-8?B?S3LDtnBsaW4=?= <linkrope github.com> writes:
On Wednesday, 6 September 2017 at 18:11:28 UTC, Joakim wrote:
 - There's no resolution to the Flag type issue: you should say 
 whether you filed a bug, as you did with the issue in the 
 private classes section, or if you were able to work around it.
We asked in the forum whether this is a bug: https://forum.dlang.org/thread/igsxmowtguwvngnqullx forum.dlang.org The answer was ... inconclusive. So, we worked around the problem: https://github.com/funkwerk/accessors/blob/master/src/accessors.d#L223
Sep 06