Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How do you call an object's elements?

Name: Anonymous 2007-09-29 11:05 ID:Cf0T2Pra

1) Attributes
2) Members
3) Properties (faggot)
4) Other

Name: Anonymous 2007-09-29 14:52 ID:59I37K84

Members if they're accessed directly, like a struct's. Attributes if you need to call accessors (or go through the C# attribute mechanism), and properties if the accessors compute the value rather than returning it straight from somewhere.

Depends on circumstance really. In CORBA there's no point in calling them anything except attributes.

In C though, structs and unions have fields, like a fill-out form would have.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List