4 ms·
a function will never change behaviour just because a dependency has a new version available Presumably this only works for pure-functional languages?
by pjc50 12y ago
a function will never change behaviour just because a dependency has a new version available
Presumably this only works for pure-functional languages?
- endergen 12y agoI'm assuming his suggestion is no updates ever unless you update your dependencies version. many module systems like say npm has a culture of using fuzzy matching which means when you do an npm install again you can easily pull in new versions of libraries that have had upgrades since you last did npm install. I'm of a fan of strict dependencies but some people prefer to make it easier to stay to the latest minor patch or other logical upgrade patterns.
- endergen 12y agoAnother option would be have an area that is reserved for meta data about upgrades that can't be modified by page content but is browser level that still has hash verifiable and pages with fixed URLs. But at the top there would be something like: There have been 5 changes to this page since this version. See Changes [link] Go to latest version [Link]
- tel 12y agoNot even them. A data type could change: the interfaces between functions are what must be versioned e.g. An SML module system.