News for hackers. Stuff that matters.
Re:Coding Skill and the Decline of Stagnation by tikhonj on Friday January 13, 2012 @03:28PM (#3462256)
Gosu supports a property syntax that lets you use = to assign things to get/set method pairs. In fact, when you load existing Java code, it replaces getFoo() and setFoo(foo) methods with a property.

This makes the code neater and enforces the abstraction--the user of the property does not need to know whether you've implemented it as a simple variable or a complicated method.

A bunch of other language let you do this as well.

Re:Coding Skill and the Decline of Stagnation by haldean on Saturday January 14, 2012 @01:32AM (#3463656)