When is it (not) appropriate to bundle dependencies with an application?

后端 未结 8 2250
忘掉有多难
忘掉有多难 2021-02-19 13:43

Summary

I recently had a conversation with the creator of a framework that one of my applications depends on. During that conversation he mentioned as

8条回答
  •  萌比男神i
    2021-02-19 13:49

    Beware reproducing the classic Windows DLL hell. By all means minimize the number of dependencies: ideally, just depend on your language and its framework, nothing else, if you can.

    After all, preserving hard disk space is hardly the objective any more, so users need not care about having multiple copies. Also, unless you have a minuscule number of users, be sure to take the onus of packaging on yourself rather than requiring them to obtain all dependencies!

提交回复
热议问题