Interesting post. But much more important question: Why is boilerplate code still a thing? Either create a library or a code generator. The difference of a code generator is, that you don’t edit the generated code, just the parameters of the generator. Boilerplate code or scaffolding is just a nice word for „copy and paste with slight modifications“