DEV Community

Discussion on: How Do You Automate Your Boilerplate?

 
m_nevin profile image
Marc Nevin

Interesting - so when you abstract out this common functionality do you find there can be much bloat in the packages that you’re creating? Lots of unused methods etc?

I’m thinking of how we could implement something like this, wrapping it up like some helper libraries we’ve created in the past but we’ve always ended up ballooning the scope of each lib

Thread Thread
 
brandinchiu profile image
Brandin Chiu

This is for our backend projects, so package size typically isn't so much an issue.

Additionally, our use of dependency injection patterns makes our services fairly efficient.

From a use perspective, we typically only include functionality that is shared amongst all of our other Microservices. We've purposely designed our applications to promote interoperability.

Thread Thread
 
m_nevin profile image
Marc Nevin

Sounds really sustainable, this seems like it'll be a longer-term goal for us but could have some big payoffs,

Thanks for sharing!