Re:Code optimizations when using async/await
by hinkley on Tuesday January 04, 2022 @12:11PM
(#29797105)
Variable hoisting can make a loop faster and the intentions clearer. As long as you don’t hoist the variable entirely off the page, that is. Declaring at the top of a large scope is confusing. I think people got that from older versions of C as I recall. It’s worse than doing nothing.
[ Parent
| on HN ]
There are no comments on this comment yet.