DEV Community

Discussion on: Have you called your method object lately?

Collapse
 
dinjas profile image
Jason Dinsmore

There's a lot of truth in your observations. I think a benefit of using a gem (even if it does introduce a new dependency) is that you're able to DRY up code across multiple projects.

9.5kb, isn't a huge penalty, but I get what you're saying. Adding gems willy nilly is never a recommended approach.

I'd also encourage people to look at the gemspec of any gem they're considering adding. Many of them have lots of dependencies that may not be obvious.