3 ms·
> Write no tests for there code (even the given examples!) Just curious, do the instructions ask for tests? If one of these "programming quizzes" asked me to i
by ryandrake 9y ago
> Write no tests for there code (even the given examples!)
Just curious, do the instructions ask for tests? If one of these "programming quizzes" asked me to implement algorithm XYZ, I would follow it to the letter and implement only the algorithm.
- gilleain 9y agowe don't ask them to actually provide their tests, but implementing a non-trivial algorithm without tests is optimistic at best. we give them a couple of examples (input, output) pairs - surely you would at least run your implementation past these, right?