News for hackers. Stuff that matters.
Re:Data Classes for Java by dragonwriter on Wednesday November 01, 2017 @11:01PM (#15607504)
> if we make a change in future it's going to take just as much work

In Java, changing from a field to using accessor methods requires source changes on the consumer side as well as the class itself. With C# properties this is transparent in source, but I think it still requires recompilation on both sides. Not using fields, therefore, means changes have less impact on other compilation units that might consume the class.

There are no comments on this comment yet.