3 ms·
Even better than "observable state from a to b" is "a transform of value from a to b", no inspection and whitebox needed :D
by squirrelicus 7y ago
Even better than "observable state from a to b" is "a transform of value from a to b", no inspection and whitebox needed :D
- switchbak 7y agoAbsolutely. The more functional we can make the code, typically the easier it is to test it based only on inputs and outputs. Much of what I do is try to come up with architectures that model the logic in this way, and are still legible to my co workers.