Comment by aleph_minus_one

3 months ago

> AI generates code fast but then you're stuck reading every line because it might've missed some edge case or broken something three layers deep

If the abstraction that the code uses is "right", there will be hardly any edge cases, and something to break three layers deep.

Even though I am clearly an AI-hater, for this very specific problem I don't see the root cause in these AI models, but in the programmers who don't care about code quality and thus brutally reject code that is not of exceptional quality.

> programmers who don't care about code quality and thus brutally reject code that is not of exceptional quality.

Is there a typo here? If they don't care about code why would they reject code based on quality?

  • > Is there a typo here?

    Indeed an accidental omission by me:

    programmers who don't care about code quality and thus don't brutally reject code that is not of exceptional quality.

[flagged]

  • Good abstractions only get you easy wins for some percent of the desirable tasks. They never guarantee 100% edge case unless trivial.

    Choosing wrong means huge tech debt. Choosing righr just means most of your code will be happy path, and a few will need escape hatches. Not because of the abstract but because the target problem shifts uncontrollably. Because the problems you are solving typically require multiple abstractions and they are going to meet at the edges in the best case.