love the coding content and the explanations, top notch. This obsession with cleaning up the code that is not going to be reused elsewhere, drives me crazy tho It’s far better, in my opinion, to just surround those blocks of code with a comment box that describes what the functional purpose is. That way, both code AND function can be seen at a glance. Obscuring the code with a pretty encapsulating function that has no self-description is going to make it that much harder to understand the code later.
1 Like