| ▲ | kayo_20211030 3 days ago | |
Love it. Particularly the "correct" refactoring at the end. The future maintainer will thank you. (BTW: that future maintainer might be you). To a first approximation one should write "local" code i.e. the bits that are important should be right in front of you in the editor. It shouldn't need too much navigation, with all the overhead of context switches, to understand what you're looking at. Of course, be sensible and use good judgement :-) But, that's what we're paid for, right? | ||