[josm-dev] Automatic tag correction

Robin Rattay rotora at gmx.net
Mon Jul 7 10:21:23 BST 2008


Frederik Ramm schrieb:
> The textbook Java way is to use getters and setters unless this is not 
> possible for some reason - even if you cannot imagine any situation 
> where they might be needed. The traditional JOSM way is to use public 
> members unless getters and setters are required right now.

Completely of topic: It's a pity that Java doesn't have "properties"
like many other OO languages in order to avoid trivial getters and setters.

Robin




More information about the josm-dev mailing list