Wrote a new post about wormholes in JavaScript. How to make things go faster by understanding how computers work
https://www.nearform.com/blog/wormholes-in-javascript …
-
-
TL;DR Please don’t avoid modern features by default. By default, use them whenever it makes sense to you. If a particular pattern turns out to be a perf bottleneck, let us know.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
"idiomatic way" is code for "write like everyone else"? how does everyone else code? Or, does it mean "like engine developers intend you to write it"? Is there a convention (like those for airbnb eslint)? A checklist?
-
It means (or at least, I meant) write code that makes sense to you. Optimize for readability. Don’t try to outsmart JavaScript engines — they’re constantly changing and improving.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.