Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jashkenas
· 9y ago · 0 comments
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.
Comments
[–]
twykke
9y ago
i 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.