Skip to main content

Timeline for What is the point of properties?

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Jul 30, 2017 at 23:13 comment added maaartinus Delphi misuses properties ad nauseam. You don't sort list, you set its sorted property to true. So setting it to false gives you the original list. :D Or does it shuffle it randomly? :D Or whatever, it's just stupid. Additionally, it's damn slow compared to a proper sorted set. Properties aren't bad, but I've learned to use them very sparingly (till the point of being quite happy with getter and setters; I'm using mostly Java).
Jan 23, 2012 at 5:43 comment added Karthik Sreenivasan +1 That indeed a real use of a property. Great answer. "It also meant that you could restrict access to properties by making them protected in the abstract base class then moving them to public or published in subclasses."
Sep 30, 2011 at 1:02 history answered mcottle CC BY-SA 3.0