H
Herfried K. Wagner [MVP]
Hello,
100% ACK. Both are used to model "attributes" of an object.
100% ACK.
;-)
Regards,
Herfried K. Wagner
Fergus Cooney said:As I see it, a property (in its simplest form) is just a different
accessor for a field. I don't see fields as methods, and therefore don't see
properties as methods.
100% ACK. Both are used to model "attributes" of an object.
There are those who consider that writing a property that
"takes action" is bad design as they would define "action"
as a side-effect - something not desired in a property.
It depends, of course, on how you define "action."
100% ACK.
Both "procedure" and "method" used to mean a routine that didn't return a
value, ie a Sub, but that distinction has been trampled on, RIP.
;-)
Regards,
Herfried K. Wagner