3 ms·
> (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...
by 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.