News for hackers. Stuff that matters.
Re:Data Classes for Java by chubot on Wednesday November 01, 2017 @09:12PM (#15607050)
Why don't you just use plain fields, and if you need to change it later, delete the field and go fix all compile errors? That's an easy way to find all usages.

Or are you not talking about a statically-typed language which would find the errors when you temporarily delete a field?

Re:Data Classes for Java by cle on Wednesday November 01, 2017 @10:30PM (#15607375)
You don't always control the code that uses it. You'll have a lot of angry customers if you break all their builds.
Re:Data Classes for Java by abiox on Wednesday November 01, 2017 @11:40PM (#15607668)
well, hopefully they aren't having the library update underneath them without warning. :P