Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: