Yes, nothing comes for free, of courseā¦ but it seems to me that with careful coding one can massively decrease bug rate while spending only little extra time. Debuggers make bug finding much easier but not so much faster. Coding carefully also feels very difficult out of proportion how slower it is.
My experience is that writing bug-free code typically takes up additional time in other ways.
Yes, nothing comes for free, of courseā¦ but it seems to me that with careful coding one can massively decrease bug rate while spending only little extra time. Debuggers make bug finding much easier but not so much faster. Coding carefully also feels very difficult out of proportion how slower it is.