5 karma · joined March 8, 2021
There’s nothing wrong with this.
You’re right to call out performance as a reason for testing. Unfortunately, though, it’s usually not that easy. A problem not found in testing may be the result of inexperience or lack of foresight in design, such as the assumption that another adapter service in front of that enterprise cloud service that only exists in production isn’t a bottleneck, or that your code that had 100% unit test coverage turned out to leave nasty half-updated data due to non-transactional services and was deadlock-prone with memory leaks.
I agree that someone shouldn’t be publicly made fun of in-general for sharing something novel and non-trivial that others didn’t already know, and if it highlights a problem in inadequate reviews, maybe it should’ve been presented to the journals that published it with that info.
For example, people from Central America trek up at risk of their lives through dangerous drug lord territories to get to US states where they can work illegally for less than minimum wage, then send that money back to their families because they can make much more doing that than they could at home and may have no other choice.
The working and living conditions can be terrible, and answer is not to deport them or make their conditions worse; that hurts the host country as well as the workers and creates more division. Similar workers boosted the US culturally and economically because industry and governments embraced them for labor and taxes.
If it’s ubersecure maybe it would outperform Moore’s Law, quantum computing, and the hyper-intelligent AIs.
Similarly, you could do TDD on a high percentage of the code by using injection, then automatically rewrite the code into static methods, as Atwood was saying they needed for performance, if that’s what would help.
Code generation, etc. got a bad name over the years as people tended to use it to balloon the eventual source, like that of many autogenerated config files today, but it can be used to do almost anything.