Re:AI is forcing us to pay off 40 years of technical debt
by eithed on Wednesday November 04, 2026 @09:59AM
(#50366474)
Types is an option. Another option would be tests (and in this case mutation testing).
My main point still stands = LLMs code defensively catering for unknowns that are not loaded into context.
That’s why I think code needs to document all its assumptions, and in a way that is checked by the compiler to the extent possible. If you document that the values have restricted range, then the AI should take it into account.