Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
esrauch
on Jan 13, 2012
|
parent
|
context
|
favorite
| on:
Coding Skill and the Decline of Stagnation
C# allows it but but Java doesn't have this. Hence why it's standard operating procedure to just use setters from the beginning, because it might be nontrivial to update all references.
jiggy2011
on Jan 13, 2012
[–]
Play! framework allows you to use getters and setters with public members as you would in C#.
Not sure how this is implemented.
aaimnr
on Jan 14, 2012
|
parent
[–]
Spring Roo does the same through the use of aspect programming (code generation, essentially - it generates the boilerplate behind the scenes).
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: