Click here to Skip to main content
16,015,094 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



 
GeneralIt's awesome when you figure its power Pin
Fabio Franco21-Oct-11 2:17
professionalFabio Franco21-Oct-11 2:17 
GeneralRe: It's awesome when you figure its power Pin
Rakesh Meel23-Oct-11 19:48
professionalRakesh Meel23-Oct-11 19:48 
GeneralYes, When in my first week of new contract Pin
raju melveetilpurayil20-Oct-11 11:54
professionalraju melveetilpurayil20-Oct-11 11:54 
GeneralAttributes are the undead citizens of the .net code world. Pin
dave.dolan20-Oct-11 8:50
dave.dolan20-Oct-11 8:50 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
Fabio Franco21-Oct-11 5:40
professionalFabio Franco21-Oct-11 5:40 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
dave.dolan21-Oct-11 5:46
dave.dolan21-Oct-11 5:46 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
Fabio Franco21-Oct-11 6:07
professionalFabio Franco21-Oct-11 6:07 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
dave.dolan21-Oct-11 6:11
dave.dolan21-Oct-11 6:11 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
Fabio Franco21-Oct-11 6:21
professionalFabio Franco21-Oct-11 6:21 
dave.dolan wrote:
it would be better just to have the right object created with the right logic hard-coded as it's behavior.


They are exactly that, an object with a hardcoded behaviour.

dave.dolan wrote:
Use configuration to decide.

Why add more complexity to it? This makes it much harder to read and to maintain. Config files can't be debugged and have breakpoints, they break the line of thinking of a human, making him look somewhere else.

dave.dolan wrote:
I guess it's not a paradigm breaking thing for the USER, but it is for the implementer of attributes themselves and logic based on consuming them with reflection.


It's not that big of a deal. As an implementer, they made my life so much easier and it is not all that paradigm breaker. I plan to write an article about custom attributes and how simple they can be to implement. Also, read my post on this poll bout how they made my life easier:

It's awesome when you figure its power
"To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

GeneralRe: Attributes are the undead citizens of the .net code world. Pin
dave.dolan21-Oct-11 6:27
dave.dolan21-Oct-11 6:27 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
Fabio Franco21-Oct-11 6:43
professionalFabio Franco21-Oct-11 6:43 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
dave.dolan21-Oct-11 6:45
dave.dolan21-Oct-11 6:45 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
Fabio Franco21-Oct-11 6:49
professionalFabio Franco21-Oct-11 6:49 
GeneralRe: Attributes are the undead citizens of the .net code world. Pin
PIEBALDconsult21-Oct-11 9:38
mvePIEBALDconsult21-Oct-11 9:38 
GeneralReflection + Attributes = FUN Pin
milkplus18-Oct-11 5:36
milkplus18-Oct-11 5:36 
GeneralRe: Reflection + Attributes = FUN Pin
Fabio Franco21-Oct-11 5:35
professionalFabio Franco21-Oct-11 5:35 
GeneralMostly with enumerations Pin
PIEBALDconsult17-Oct-11 18:13
mvePIEBALDconsult17-Oct-11 18:13 
GeneralRe: Mostly with enumerations Pin
ThatsAlok17-Oct-11 20:37
ThatsAlok17-Oct-11 20:37 
Generalwhat?? Pin
Dennis E White17-Oct-11 10:26
professionalDennis E White17-Oct-11 10:26 
GeneralRe: what?? Pin
CDP180217-Oct-11 11:27
CDP180217-Oct-11 11:27 
GeneralRe: what?? Pin
Dennis E White17-Oct-11 11:35
professionalDennis E White17-Oct-11 11:35 
GeneralRe: what?? Pin
Stonkie17-Oct-11 11:54
Stonkie17-Oct-11 11:54 
GeneralRe: what?? Pin
Edward Steward3-Dec-11 23:15
Edward Steward3-Dec-11 23:15 
GeneralRe: what?? Pin
PIEBALDconsult17-Oct-11 18:09
mvePIEBALDconsult17-Oct-11 18:09 
GeneralRe: what?? Pin
Keith Barrow18-Oct-11 0:35
professionalKeith Barrow18-Oct-11 0:35 

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.