4 ms·
Converting an algorithm implementation from recursive to iterative: it got the concept broadly right, but was quite bad at making the logic actually match up, o
by manwe150 1y ago
Converting an algorithm implementation from recursive to iterative: it got the concept broadly right, but was quite bad at making the logic actually match up, often refusing to fix mistakes or reverting fixes two edits later. Still a positive experience though, since it was fixable issues and reduced the amount of tedious copies I had to type
- cadamsdotcom 1y agoDid you have it write tests and give it the ability to iterate & validate its implementation without you in the loop? Anything less is setting it up for failure...
- manwe150 1y agoYes, but it got 99% of those then got stuck on why the others made no sense to it
- cadamsdotcom 1y agoIt’s important to understand the tests it’s written yourself. If you’d like some help I’d be glad to, just drop me an email. My email’s in my profile.