Hacker News new | ask | show | jobs
by girishso 2874 days ago
Elm goes a step further, it enforces semantic versioning. If the package has any breaking interface changes, it forces major version change.
2 comments

That's not a step further, you lose the ability to use the latest version without code changes.
Which in any case you'd have to do in other languages. What Elm provides is a way for library users to decide whether to upgrade the library or not and more importantly not automatically upgrade to a library which needs code changes.
If you just don't have breaking interface changes you never need a major version change.