I think avoiding all 3rd party libraries is excessive, but engineering is about tradeoffs. In the extreme case, do you pull in a LeftPad dependency or write it yourself?
It also depends on whether “avoid” means a strong preference against or a rigid doctrine to never use no matter what.
It also depends on whether “avoid” means a strong preference against or a rigid doctrine to never use no matter what.