5 ms·
>not totally sure how to achieve it [replaceability] One of the most crucial keys is: make your code greppable. For example, don't treat OOP classes as a lice
by xamuel 9y ago
>not totally sure how to achieve it [replaceability]
One of the most crucial keys is: make your code greppable. For example, don't treat OOP classes as a license to use generic method names ("add", "set", "close", etc.), or it'll be difficult to weed those classes out.
- majewsky 9y agoDepends. If you have a statically typed language, you can usually just delete the class and fix all the compile errors. With a dynamically typed language, your point stands and I very much agree.
- fa 9y agoXamuel, where did your old blog go? The one where you talked about Esperanto as a gateway language to get people over their fear of learning a new language? I try to cite it regularly but it’s offline and Wayback Machine is giving me lip. (Sorry to barge in on this thread, I hope it’s the most reliable way to get to you.)