a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
bhrgunatha  ·  2357 days ago  ·  link  ·    ·  parent  ·  post: The Cargo Cult of Versioning

    Why is version pinning so prevalent? The proximal reason is that modern package managers uniformly fail to provide the sane default of "give me the latest compatible version, excluding breaking changes."

A package manager has know way of knowing what a breaking change is though because that entirely depends on how your code interacts with other packaged code.

Some are easy to pin down and define. Others are almost impossible because people write software and people are inconsistent, they aren't omniscient and they can't understand or foresee every consequence of every aspect of the code they write.