| ▲ | Show HN: RealDiff – runtime behavior diffing for pull requests (six languages)(github.com) | ||||||||||||||||||||||||||||||||||||||||
| 40 points by issacnitin 4 days ago | 10 comments | |||||||||||||||||||||||||||||||||||||||||
| ▲ | vlovich123 4 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
I’ve read the readme a few times and still have no idea how this is useful. The motivating example of Sort => SortBy has no description of what’s highlighted and no description of how. Is it running the old test suite with the new changes as a weak form of mutation testing? Something else? | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | johnsuder 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
I love the concept and see the value for refactoring. There is tremendous value in knowing that two implementations are run-time equivalent. I just wanted to share for others that there is a configuration language call Dhall (https://dhall-lang.org/) that has this kind of guarantee as one of its nicest features. See the "Refactor Fearlessly" section. In Dhall, most behavior preserving refactors produce the exact same hash code so you can know - for an absolute fact - that a refactor is behavior neutral. The point of sharing that other language is just to legitimize that "this is a thing" i.e. it has value recognized by others. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | jedisct1 3 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
No support for Zig? | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||