3 ms·
Why do Tennent's Correspondence and Abstraction Principles matter? That's missing.
by ricardobeat 15y ago
Why do Tennent's Correspondence and Abstraction Principles matter? That's missing.
- tomdale 15y agoFrom the article: This is also known as the principle of abstraction, because it means that it is easy to refactor common code into methods that take a block. I can attest that quickly refactoring code in Ruby is much more straightforward than in JavaScript. In practice, a small reduction in cognitive load means that it's easy to just do it now, instead of putting it off (to the point it never gets done).