Software - or computer systems - are regulated in cases where it matters. Airplane stuff is regulated by the FAA. Medical devices are regulated by the FDA. One of those "sudden acceleration" suits went against the mfg partly because they hadn't followed proper coding standards. Credit card stuff is regulated by the industry rather than government under the pci-dss standard. Cloud providers advertise as being hipaa compliant, so that set of rules must have a technical component.
I have worked on medical devices and HIPAA controlled data. I have seen PhDs leading their field work next to a college grad who didn't even have a CS degree work on the same code. Trust me: you do not want to be operated on by a robot made by the kid out of college.