Link Details

Link 964645 thumbnail
User 448255 avatar

By dotCore
via cafe.elharo.com
Published: May 06 2013 / 08:31

There’s an awful lot of sound and fury right now about adding syntax support for properties to Java 7. However, all the proposals are vastly too complex for what little benefit they offer. They need new keywords, operators, rules, and best practices. Could we have done better? Yes. Can we still do better? Maybe. Let’s find out.
  • 7
  • 0
  • 644
  • 757

Comments

Add your comment
User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

What is wrong with: property readonly int oranges;? The solution #2 : "These could begin with $ character"; not really a solution, this belongs to script languages where you try to pack as much functionality in the smallest syntactic space. It puts artificial and annoying conventions on naming.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax