Thread overview | |||||
---|---|---|---|---|---|
|
September 06, 2017 From the D Blog: The Evolution of the accessors Library | ||||
---|---|---|---|---|
| ||||
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/ |
September 06, 2017 Re: From the D Blog: The Evolution of the accessors Library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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.
|
September 06, 2017 Re: From the D Blog: The Evolution of the accessors Library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | 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 |
Copyright © 1999-2021 by the D Language Foundation