0
comment
on 2/2/2025 5:52 AM
The rule of three suggests that if you encounter the same pattern for the third time in your code, you should refactor it into a reusable abstraction. The same thing applies in programming language theory. When you find that you are doing the same thing for the third time, it is probably a good idea to stop and think - is there a general pattern? Figure 1. Auto-completion list showing possible operations in The Gamma In my PhD thesis on context-aware computations, I did exactly this. When we realised th[...]
>> Read the full article on tomasp.net
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper