6 ms·
Just hash the whole function and be done with it. Joe Armstrong made a proposal for this (I’m pretty sure half tongue in cheek). https://joearms.github.io/pub
by aconbere 4y ago
Just hash the whole function and be done with it.
Joe Armstrong made a proposal for this (I’m pretty sure half tongue in cheek).
https://joearms.github.io/published/2015-03-12-The_web_of_names.html https://joearms.github.io/published/2015-03-12-The_web_of_na...
- Supermancho 4y agoHashing also allows you to be more confident in the tests for that code. Tests cant catch when additional side effects are added. If the hash changes, you can trigger behavior like restarting the QA on it.