Click here to Skip to main content
15,914,780 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: Attributes are evil Pin
#realJSOP17-Oct-11 10:13
professional#realJSOP17-Oct-11 10:13 
GeneralRe: Attributes are evil Pin
Paul Coldrey17-Oct-11 15:15
professionalPaul Coldrey17-Oct-11 15:15 
GeneralRe: Attributes are evil Pin
CDP180217-Oct-11 20:07
CDP180217-Oct-11 20:07 
GeneralRe: Attributes are evil Pin
#realJSOP18-Oct-11 2:26
professional#realJSOP18-Oct-11 2:26 
GeneralRe: Attributes are evil Pin
User 482203318-Oct-11 2:30
User 482203318-Oct-11 2:30 
GeneralRe: Attributes are evil Pin
myker18-Oct-11 7:41
myker18-Oct-11 7:41 
GeneralRe: Attributes are evil Pin
Fabio Franco21-Oct-11 2:20
professionalFabio Franco21-Oct-11 2:20 
GeneralRe: Attributes are evil Pin
Fabio Franco21-Oct-11 6:00
professionalFabio Franco21-Oct-11 6:00 
John Simmons / outlaw programmer wrote:
I only use attributes in very rare instances - when they're required, and for nothing more.


How about when they make your life easier? You'd be surprised on how well they can do that. The fact the something isn't needed doesn't mean you shouldn't use. If one would follow that line, we don't need visual studio, but do we want to code in a text editor and command line?

John Simmons / outlaw programmer wrote:
I try to avoid using reflection whenever possible as well.


This may be a valid point not to use Attributes, but then, you gotta verify the advantages and disadvantages of using them. Two disadvantages:

1 - Performance. But is performance a real issue? I believe in most cases they aren't specially on the web where the bottleneck is somewhere else.

2 - Type safety. Ok, but IMO, the productivity gain in most cases outweighs the risks.
"To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

GeneralRe: Attributes are evil Pin
Stonkie17-Oct-11 12:00
Stonkie17-Oct-11 12:00 
GeneralRe: Attributes are evil Pin
Marc Clifton17-Oct-11 14:43
mvaMarc Clifton17-Oct-11 14:43 
GeneralRe: Attributes are evil Pin
Fabio Franco21-Oct-11 2:18
professionalFabio Franco21-Oct-11 2:18 
GeneralRe: Attributes are evil Pin
hairy_hats21-Oct-11 3:21
hairy_hats21-Oct-11 3:21 
GeneralWho have useful questions for the CP weekly poll? Pin
AlexCode17-Oct-11 2:45
professionalAlexCode17-Oct-11 2:45 
GeneralNope, I only use BACON Pin
OriginalGriff16-Oct-11 23:47
mveOriginalGriff16-Oct-11 23:47 
GeneralRe: Nope, I only use BACON Pin
Nagy Vilmos17-Oct-11 4:37
professionalNagy Vilmos17-Oct-11 4:37 
GeneralRe: Nope, I only use BACON Pin
OriginalGriff17-Oct-11 4:43
mveOriginalGriff17-Oct-11 4:43 
GeneralRe: Nope, I only use BACON Pin
Nagy Vilmos17-Oct-11 4:46
professionalNagy Vilmos17-Oct-11 4:46 
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 Pin
CDP180216-Oct-11 19:17
CDP180216-Oct-11 19:17 

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.