new DIP5: Properties 2

sclytrack sclytrack at pi.be
Tue Jul 28 01:09:24 PDT 2009


> The property keyword looks nice though.  What prevents us from doing
> more generic annotations with syntax like @property?
> --bb

I don't know.

Also I don't know where to put this post, so I'll just reply to yours :-)
-------------
	Maybe @Property is too general.

	a) @Prop  (Yeah, I know, the short version)
	b) @ToBeDisplayedInTheObjectInspectorOrPropertyEditorOfTheIDE

	How about something less specific than (a)
	and not too specific like (b) something
	that replaces the combination published
	and property from Delphi.

	(b) Would only be used in GUI api's, and not
	everywhere there is a setter or getter, mutator or
	accessor, reader or writer.
-------------
	Since I don't like the naming convention of above. (too loooong)

	@PublishedProperty



More information about the Digitalmars-d mailing list