4 ms·
Tests are usually soul crushing and boring for the same reason PHP was in 1999 - a complete lack of structure, tooling and separation of concerns made it tediou
by hitchstory 2y ago
Tests are usually soul crushing and boring for the same reason PHP was in 1999 - a complete lack of structure, tooling and separation of concerns made it tedious and difficult.
I find it interesting that when people describe to me how they use LLMs to write code it's either short throwaway scripts or to write the kind of code that would make me retch (e.g. tests stuffed full of horrible mocks, spaghetti boilerplate).
- soco 2y agoBear with me here: what if that retch-inducing code works fine? It's generated by an AI, can be understood by an AI (presumably), does what it should, so why should it be palatable for a human? You're not in the loop anymore...
- hitchstory 2y agoIf it remains perfectly bug free until the end of time then yes it's fine /s
- soco 2y agoAnd when a bug shows up (as they always do), some AI will fix it.