3 ms·
Sounds like using Pilot or ChatGPT for coding - no understanding of the situation/problem, just add some code that makes the error message go away :(
by drpixie 3y ago
Sounds like using Pilot or ChatGPT for coding - no understanding of the situation/problem, just add some code that makes the error message go away :(
- qikInNdOutReply 3y agoWhen the error messages are caused, by a test suite with a mathematical rigourous spec and edge case geared tests, this eventually results in correct code.
- drpixie 3y agoAgreed - given a complete and correct test suite! But even so, "correct" code is not necessarily efficient or readable code. And note that writing the complete and correct test suite is likely to be a task of similar difficulty to designing and writing good code! I'm not saying don't test, but I am saying that non-trivial testing is difficult.