top | item 35010334

(no title)

aconbere | 3 years 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_na...

discuss

order

Supermancho|3 years ago

Hashing 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.