spoiler: if your boss understands this they 1) are not doing their jobs 2) they will fail hard if they try to push their own thinking on HOW to do things
Interesting. To be clear I'm a developer and my boss is a director of application development. He used to be a dev so he understands these kind of issues.
If my boss was a product owner or a stakeholder I would not want them mandating random details about how I do things.