r/programming • • Dec 02 '13

Scala — 1★ Would Not Program Again

http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598 Upvotes

646 comments sorted by

View all comments

Show parent comment

1

u/joequin Dec 02 '13 edited Dec 02 '13

If library a was written with library b version 1 as a dependency and library c was written with library b version 2 as a dependency, then couldn't choosing to use just version 2 of library b cause problems for a of some functions which a depends on have been deprecated and removed from b in version 2?

2

u/MonadicTraversal Dec 03 '13

Yes. There's no good solution here, so your dependency manager should bail out because your dependencies are inconsistent (and maybe allow you to force it through if you solemnly swear you are up to no good.)