Hacker News new | ask | show | jobs
by erickt 3336 days ago
I think that was one of the proposed variations, but we ended up picking the shorter .expect to cut down on repetition. We expected (ha) that this function would be used in these one-offs, so we wanted something more efficient.
1 comments

As an old Java hack, my allowance for repetition is high. Especially when using and IDE that basically writes the code for me ;)