> So I personally do not miss the properties, but I wonder why a > property declaration could not internally compile to the same result > as a classic getter and setter variant. Then it should also make no > difference in performance and you can write it just how you prefer it.
BTW this is exactly what C# does. The only difference is that in .Net properties are marked by the compiler so you can get the properties of a class by reflection. Which seams to be of some kind of use for IDEs etc. Overall I never found the C# properties (as a language construct) more useful than Java properties by convention. Looking at JavaFX the story there is completely different. I had to write a lot of property binding code in C# lately (would have been the same in Java I guess) and seeing that all done with the little keyword bind just blows my mind. -- Alexander --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
