←back to thread

201 points olvy0 | 1 comments | | HN request time: 0s | source
Show context
Culonavirus ◴[] No.41880430[source]
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.
replies(2): >>41880606 #>>41880904 #
1. bob1029 ◴[] No.41880606[source]
Those 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.