4 ms·
Well, then maybe the beginners do it right? You have not argued against my two points: It's much slower, and less clear.
by modersky 13y ago
Well, then maybe the beginners do it right? You have not argued against my two points: It's much slower, and less clear.
- noelwelsh 13y agoClarity comes from familiarity. It's not an objective measure. The speed benefit is well known, as is the corollary, premature optimisation. I expect checking for null is even faster if speed is the main concern. It's an engineering tradeoff, just like making the abstraction to a monad (or monad plus). In the normal course of events I'm more concerned about flexibility than performance and would prefer the abstraction.