Click here to Skip to main content
15,917,618 members

Survey Results

Do you use Attributes in your .NET development?   [Edit]

Survey period: 17 Oct 2011 to 24 Oct 2011

Attributes provide a neat way to hide the plumbing. Do you use and/or create attributes yourself?

OptionVotes% 
Extensively626.31
Often17017.31
Occasionally27928.41
Rarely19419.76
Never787.94
I am unfamiliar with Attributes in .NET19920.26



 
GeneralRe: Nope, I only use BACON Pin
Randor 17-Oct-11 20:14
professional Randor 17-Oct-11 20:14 
GeneralRe: Nope, I only use BACON Pin
OriginalGriff17-Oct-11 21:55
mveOriginalGriff17-Oct-11 21:55 
GeneralUsed, now creating them Pin
Sander Rossel16-Oct-11 20:12
professionalSander Rossel16-Oct-11 20:12 
GeneralRe: Used, now creating them Pin
CDP180216-Oct-11 22:07
CDP180216-Oct-11 22:07 
GeneralRe: Used, now creating them Pin
Sander Rossel17-Oct-11 7:10
professionalSander Rossel17-Oct-11 7:10 
GeneralRe: Used, now creating them Pin
CDP180217-Oct-11 12:45
CDP180217-Oct-11 12:45 
GeneralRe: Used, now creating them Pin
Sander Rossel17-Oct-11 20:43
professionalSander Rossel17-Oct-11 20:43 
GeneralAttributes are practical PinPopular
CDP180216-Oct-11 19:17
CDP180216-Oct-11 19:17 
... but overusing them may make your code hard to understand and somewhat slow, due to having to use reflection to read them. Then again, in web applications this little extra effort is unnoticable as you spend more time waiting for a response from the database and I would not use managed code for anything that must be super fast anyway.

And there are also my friends, the Java cultists, who think their annotations (essentially the same as attributes) are the best thing since white chocolate. I just love to rub it under their noses that the 'imitation' already has had attributes from the beginning and uses them far more consequentely. What do you mean, you can't 'annotate' classes for serialisation? But what do you expect when the 'imitation' also is a bit ahead what constructors, disposing and finalisation or properties are concerned?
And from the clouds a mighty voice spoke:
"Smile and be happy, for it could come worse!"

And I smiled and was happy
And it came worse.



General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.