top | item 44295577

(no title)

sagarpatil | 8 months ago

I always use Claude Code to debug issues, there’s no point in trying to do this yourself when AI can fix it in minutes (easy to verify if you write tests first) o3 with new search can do things in 5 mins that will take me at least 30 mins if I’m very efficient. Say what you want but the time savings is real.

discuss

order

layer8|8 months ago

Tests can never verify the correctness of code, they only spot-check for incorrectness.

genewitch|8 months ago

"hey claude, does this function terminate?"

susshshshah|8 months ago

How do you know what tests to write if you don’t understand the code?

9rx|8 months ago

Same way you normally would? Tests are concerned with behaviour. The code that implements the behaviour is immaterial.

wiseowise|8 months ago

How do you do TDD without having code in the first place? How do QA verifies without reading the source?

adastra22|8 months ago

I’m not sure I understand this statement. You give your program parameters X and expect result Y, but instead get Z. There is your test, embedded in the problem statement.