logoalt Hacker News

BeefySwaintoday at 8:05 AM3 repliesview on HN

Does batteries included somehow result in upgrading years old projects being a larger lift? I would think the opposite.


Replies

thedanbobtoday at 11:27 AM

My experience has been the opposite, especially since Rails has included more batteries over the years. You need fewer non-Rails-default dependencies than ever, and the upgrade process has gotten easier every major version.

show 1 reply
Lukas_Skywalkertoday at 8:56 AM

I also think it's the opposite, since the dependencies are almost guaranteed to be compatible with each other. And I think Ruby libraries in particular are usually quite stable and maintained for a long time.

f311atoday at 8:16 AM

My medium-sized Django projects had close to 100 dependencies, and when you want to update to a new Django version, the majority of them must be updated too.

Thankfully, updating to a new Django version is usually simple. It does not require many code changes.

But finding small bugs after an update is hard, unless you have very good test coverage. New versions of middleware/Django plugins often behave slightly differently, and it's hard to keep track of all the changes when you have so many dependencies.

show 1 reply