Most folks work in boilerplate-heavy environments.
You can write macros, you can do codegen, you can use types or use dynamic typing to reduce repetition, there's still a lot of things that "a whole bunch of weights" can figure out for you, filling in the outline you created.