Programming by coincidence

The more I think about vibe coding and see it in practice the more I am reminded of David Thomas' and Andrew Hunt's admonishment in The Pragmatic Programmer

We should avoid programming by coincidence -- relying on luck and accidental successes -- in favor of programming deliberately.