Hacker News new | past | comments | ask | show | jobs | submit login

Depends on if you want your code to go fast right now or if hypothetically going faster maybe sometime in the future perhaps is good enough for you.

There's a good argument for both situations depending on context.




Or there's a third option, which is that the difference in performance doesn't matter for your application, which is the case the vast majority of the time. Destructuring an array is not going to be a bottleneck for almost any piece of code.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: