Re:Ask HN: What's the best tool you used to use that doesn't...
by gmmeyer on Saturday May 14, 2016 @04:37AM
(#11695121)
The best part of this: The native for loop is what lodash uses. It's the fastest way to do it.
Re:Ask HN: What's the best tool you used to use that doesn't...
by bhouston on Saturday May 14, 2016 @05:02AM
(#11695197)
The issue is the callback, it introduces significant overhead because it is a new context with its own scope on a per callback basis.
Re:Ask HN: What's the best tool you used to use that doesn't...
by dclowd9901 on Saturday May 14, 2016 @12:37PM
(#11696857)
Yes, exactly. I suppose if you registered the callback as a named function expression, a good js engine might be able to optimize on it and inline it, but I also don't like leaning on compilers so much.
Re:Ask HN: What's the best tool you used to use that doesn't...
by kingosticks on Saturday May 14, 2016 @04:25AM
(#11695096)
I could honestly believe that is Airbnb's slogan. But I'm sad to believe they treated an interview candidate like that.
I hope you were able to use that tool to leverage a better job elsewhere and that he/she is no longer interviewing people at Airbnb.
Re:Ask HN: What's the best tool you used to use that doesn't...
by geuis on Saturday May 14, 2016 @04:21AM
(#11695084)
Come check us out at https://massdrop.com
Re:Ask HN: What's the best tool you used to use that doesn't...
by ThePaco on Saturday May 14, 2016 @02:19PM
(#11697385)
I'm still sad Massdrop removed the vaping section, got a good deal on a keyboard though!
Re:Ask HN: What's the best tool you used to use that doesn't...
by dclowd9901 on Sunday May 15, 2016 @03:30AM
(#11699904)
You guys aren't hiring in Portland ;)
Why write fast code when you can write triple transpiled bloats bullshit vis a vis Babel, flow and jsx.