This is pretty much what Rob Pike advocates in Go: "A little copying is better than a little dependency."
http://go-proverbs.github.io/
> I pretty squarely disagree with Rob Pike on that one.
TBH that's kind of an indication that you should rethink your position. Rob Pike has a lot of experience, he's seen a lot, and he knows what he's doing. I'm not saying you're wrong, just that you shouldn't snap to the defensive position.So does pcwalton. Ever heard of https://www.rust-lang.org/ ?
I just disagree with him on this one thing.
There's a reason smart people are good at solving problems, and it's not because they always defer to what other people 'know' to be true!
And so does the person you hire down the line to extend that app. Never forget that part when talking copying and tweaking code. :)
> Clear is better than clever.
> Reflection is never clear.
Of course, everything has its place, even reflection.