3 ms·
That was a fun read. Reminded me of the (test && commit || revert) approach. https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864 https://medium.c
by Jtsummers 6y ago
That was a fun read. Reminded me of the (test && commit || revert) approach.
https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864 https://medium.com/@kentbeck_7670/test-commit-revert-870bbd7...
https://medium.com/@tdeniffel/test-commit-revert-questions-answered-ddf012a1af97 https://medium.com/@tdeniffel/test-commit-revert-questions-a...
- kortilla 6y ago> (test && commit || revert) That doesn’t make sense though. You wouldn’t need to revert if the test failed because it wouldn’t have committed...
- Jtsummers 6y agoIf you read the links you’d see that “revert” is a reset so that uncommitted changes are reverted or deleted. Just lie what this language does to functions that break their oaths.