Task #37559
Add a synthesize function for generating setter and getter methods
| Status: | Rejected | Start date: | 2012-05-29 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Writing all setters and getters by hand is time consuming. What about some synthesize method as seen in apple's objective-c code?
History
Updated by Christian Mueller about 1 year ago
Modern IDEs can autogenerate getters and setters with 2 clicks, and if the methods do not exist you will have code warnings in IDEs all over the place, that is why we dislike this feature. if you can bring in really good arguments pro synthesizing them we can always rethink....
Updated by Karsten Dambekalns 12 months ago
- Status changed from New to Rejected
This was discussed a few times in the past, and we never found a good reason to do it.