Honestly, if you have to write a lot of boilerplate code, it's most likely because your design isn't right yet.
I been tellin' geeks for three decades that they don't have to live like this.
"It is this way because we are building it this way. If we want it to be a different way, we have to build it a different way."
Or, put a little more succinctly: "You don't work for the code, the code works for you."