FiFi; we all sympathise/agree with the sentiment and overall meaning of what you've written there, but the reality of 'code' is that most often the 'bugs' are very simple 'low-level' instructions that occur due to a number of reasons - coder error at the fundamental stage is only one of them. Usually the bugs can be pre-empted at coder level by doing such stuff as 'N2' (n-squared) analysis, which is a way of checking all inputs and outputs of a function. But at a lower level, where the machine code is (usually) auto-compiled (i.e. the actual computer instruction set is created from the human/high-level function designer), the compilers can (do) have their own bugs, so even flawless top-level 'code' can have bugs introduced within the actual compiling hence computational stages. [See 'Incose' for further insight.]
I don't mean to be pious or preachy here, just realistic. We collect our sesr tomorrow, hopefully (if the airbags/keylocking/breather/... are all sorted prior), but our ID.3 has a few foibles on the car computer side, so even paying for 'German efficiency' doesn't get one entirely out of the problem area.
Good luck!