4 ms·
There has to be a better way to do things than this annotation noodle soup. My eyes are bleeding every time I look at modern Net code.
by Culonavirus 2y ago
There has to be a better way to do things than this annotation noodle soup. My eyes are bleeding every time I look at modern Net code.
- bob1029 2y agoThose attributes correspond to the benchmarking library used in the article. Unit testing & benchmarking code does typically look kind of like a plate of spaghetti. That said, you would never get a PR through me that does this in the actual business logic. You can use things like AspNetCore without touching a single attribute if you really don't want to.
- recursive 2y agoWhat .net code are you looking at? I rarely use attributes at all.