3 ms·
> Tests only validate known behavior. They didn't have a test that exercised a large string. Which is the classic thing with no-code and with Copilot-style ass
by paulmd 4y ago
> Tests only validate known behavior. They didn't have a test that exercised a large string.
Which is the classic thing with no-code and with Copilot-style assistance: writing the function that meets the spec is easy. Writing a comprehensive and correct spec is the hard part.
It's like thinking someone is a better programmer because they type faster or have a better keyboard or whatever: the words aren't the hard part, typing is maybe 10% of the time you spend programming at most. It's logical correctness in composing those functions, and being able to "hold the entire sculpture in your mind" so to speak.
- rowanG077 4y agoA function in a programming langauge is nothing more then a spec. Programming is writing or translating the specification.