4 ms·
Pinning versions creates future work but so does using the latest version. Vulnerability discovered in old version vs. vulnerability maliciously inserted in ne
by armchairhacker 5y ago
Pinning versions creates future work but so does using the latest version.
Vulnerability discovered in old version vs. vulnerability maliciously inserted in new version; software engineers afraid of upgrading because of breaks vs these breaks actually occurring because of an unexpected upgrade.
I personally prefer pinned versions because whenever I try to install some old github example or other code, I usually end up getting stuck with errors unless everything (compiler, dependencies, etc.) are pinned. Gradle projects almost always work no matter how old (Gradle pins the dependencies, JVM, and even the version of Gradle), whereas npm and CMake projects (which are built with new compilers and usually new dependencies) often fail.