Remix.run Logo
mvieira38 2 days ago

I'm surprised they let it generate the tests. Aren't the tests precisely what you want to have fine control over, moreso than the code itself? Letting it write them itself feels like yielding control over what is considered "correct" code

danielbln 2 days ago | parent [-]

Unpopular take: I couldn't give a single damn about the code. If it passes the spec and tests (that I review) and the feature works, that is good enough for me. I'm in the business of automation, and in the business of solving problems. Writing perfect, beautiful code is not what I'm in the business of. Now of course, good enough doesn't mean "complete horse shit spaghetti code", but it also doesn't mean I give a damn if some function is maybe not pure enough or whatever.