One of my teammates used AI (our company heavily encourages it) to write code. It did what it was supposed to and the tests passed, but it was the most ugly and unmaintainable shit ever. For one example, I don’t want to have to untangle a for i = 0; i++; i <= len(foo) {} that has multiple ifs inside that separately increment and decrement the loop counter i when trying to troubleshoot an issue.
One of my teammates used AI (our company heavily encourages it) to write code. It did what it was supposed to and the tests passed, but it was the most ugly and unmaintainable shit ever. For one example, I don’t want to have to untangle a
for i = 0; i++; i <= len(foo) {}
that has multiple ifs inside that separately increment and decrement the loop counteri
when trying to troubleshoot an issue.Idk, sounds to me like it did a good job mimicking humans. :P