399 reputation
110
bio website
location
age
visits member for 3 years, 10 months
seen yesterday

Apr
14
accepted Why are native ES6 promises slower and more memory-intensive than bluebird?
Apr
14
comment Why are native ES6 promises slower and more memory-intensive than bluebird?
Good answer, thank you. I didn't realise new Promise was so slow. Your anti-patterns page doesn't mention that btw.
Apr
13
accepted How to avoid server-pushing assets to clients that already have them cached?
Apr
10
comment Why are native ES6 promises slower and more memory-intensive than bluebird?
Sure, JIT makes JS so fast it can compete with precompiled machine code. But in this case it's not competing, it's trouncing it. I don't get it.
Apr
10
revised Why are native ES6 promises slower and more memory-intensive than bluebird?
added 62 characters in body
Apr
10
asked Why are native ES6 promises slower and more memory-intensive than bluebird?
Apr
10
awarded  Popular Question
Apr
9
awarded  Nice Question
Apr
9
accepted How much should I be using 'let' vs 'const' in ES6?
Apr
9
comment How to avoid server-pushing assets to clients that already have them cached?
That's interesting. So if the client 'refuses' it, does the server just stop mid-transfer? And doesn't this still waste a lot of bandwidth (depending on how quickly the server receives the refusal frame)? Compared to what we have now (where assets are only transferred the first time a new client visits your site, albeit with a round trip penalty), it sounds like server-pushing assets would be very bandwidth intensive.
Apr
9
asked How much should I be using 'let' vs 'const' in ES6?
Apr
9
asked How to avoid server-pushing assets to clients that already have them cached?
Mar
31
accepted How can 'yield' be added as a keyword in ES6 if it wasn't a reserved word?
Mar
30
asked How can 'yield' be added as a keyword in ES6 if it wasn't a reserved word?
Mar
3
awarded  Nice Question
Feb
26
accepted Is there any reason to use the “var” keyword in ES6?
Feb
25
comment Is there any reason to use the “var” keyword in ES6?
If you put a let statement right at the top of a function, I think it's just as obvious that you intended to scope it to the entire function. I don't think using var makes it any clearer than simply locating it at the top.
Feb
25
awarded  Yearling
Feb
24
asked Is there any reason to use the “var” keyword in ES6?
Feb
22
comment Why don't terminals support standard keyboard shortcuts?
OK, so there was probably some logic to the shortcut letters chosen in the 70s. But now computers have changed, and OS X has system-wide keyboard shortcuts that are much easier to remember. So the question remains, why haven't terminals been updated to support these new system-wide shortcuts (in addition to supporting the old 70s shortcuts)? Other apps modernize, why not terminals? I'm guessing there's some logistical reason, but I still don't know what it is.