>>13814615>you would then write functions to that right?What that nigger probably meant to say was "Most problems have already been solved, therefore the implementation is copy and paste."
Boilerplate code is not that, boilerplate code is all the code that doesn't very yet has to be written / executed every time you want to do a specific thing.
For example every time you want to create a window in a desktop environment you have to write a ton of boilerplate code to tell the OS what you want to happen with very little difference from one window, or button, or radial, or what-not from the next except a couple parameters.
And yes, functions and by extension wrapper functions exist and even further extension libraries exist for exactly that reason.