4 ms·
From the perspective of how it was intended to be used, you've got it exactly right. Just because you can implicitly return a braceless object, doesn't mean you
by jashkenas 9y ago
From the perspective of how it was intended to be used, you've got it exactly right. Just because you can implicitly return a braceless object, doesn't mean you should.
- twykke 9y agoi tend to use an explicit return except in one-line functions; there are plenty of CS features you can forgo if you don't think they benefit you.