4 ms·
It seems you didn't read the article. It's not whining about how people use or write custom attributes. It's whining about how they're implemented in the langua
by sfn42 5mo ago
It seems you didn't read the article. It's not whining about how people use or write custom attributes. It's whining about how they're implemented in the language.
And I wouldn't really describe it as whining, I thought it was an interesting article that rases valid points and suggests a solution.
- gwbas1c 5mo agoThe 2nd half of the article is an explanation of the problem of reading enums referenced in attributes, specifically about how it impedes performance, which I am directly discussing, both in this thread and https://news.ycombinator.com/item?id=48373294 https://news.ycombinator.com/item?id=48373294 Seems you didn't read the article!
- sfn42 5mo agoThe author is saying the .NET devs did a bad job implementing that, they are not saying you shouldn't use it. So you talking about using attributes is irrelevant to the article, it has nothing to do with developers using attributes nor how they do so.