All programming practice since (except generating slop code with LLMs) has been based around some attempt to enable confidence in program behavior based on its structure, from formal methods to type systems to object orientation to even test driven development.
Comments
they have more structure than a loop. I can't do certain things with them and that makes me more confident in the long run.