News for hackers. Stuff that matters.
Re:Java 9 features announced by hugozap on Monday August 18, 2014 @02:53PM (#8193949)
For c# just:

public int Age{get;set;}

no need to declare private variable, get or set methods.

Re:Java 9 features announced by Tloewald on Monday August 18, 2014 @02:59PM (#8193998)
And you can replace it with a virtual property in the future (changing the underlying implementation) without breaking anything. And user code ends up simpler and more readable too:

foo.baz += foo.bar;

vs.

foo.setBaz( foo.getBaz() + foo.getBar() );

Re:Java 9 features announced by HanyouHottie on Monday August 18, 2014 @04:57PM (#8194634)
That example reminds me of this recent post on The Old New Thing: http://blogs.msdn.com/b/oldnewthing/archive/2014/08/14/10549...

Interesting behavior.

Re:Java 9 features announced by Tloewald on Tuesday August 19, 2014 @09:35AM (#8197162)
Of course, setters don't protect you from this either.