3 ms·
I agree that this stuff is mostly counterproductive. As design theory? Fine. As HN frontpage stuff? I mostly see it get discussed in the form of new devs or s
by Bartweiss 8y ago
I agree that this stuff is mostly counterproductive.
As design theory? Fine.
As HN frontpage stuff? I mostly see it get discussed in the form of new devs or students asking things like "wait, how should I remove all the 'ifs' in my Java code?" (Yes, that's a real example.)
Spreading the good news about case statements, function passing, and so on is great. But this stuff is so often written up as absolutes, when simple conditionals really are a part of most practical cases.