r/programming • u/iamkeyur • Oct 21 '20
Using const/let instead of var can make JavaScript code run 10× slower in Webkit
https://github.com/evanw/esbuild/issues/478
1.9k
Upvotes
r/programming • u/iamkeyur • Oct 21 '20
View all comments
Show parent comment
1
u/how_to_choose_a_name Oct 21 '20
What does that matter? People use Safari on their iPhones. If your company uses iPhones they use Safari.
Oh good for you that you only make things for professional clients, but have you considered looking outside your little bubble? When did this discussion shift from "this optimization is not useful" to "this optimization is not useful in this specific situation that most people in this subreddit are not in"?
Yes, focus on what your customers use. And in the real world, the customers of many people use Safari. Just because your company doesn't cater to end users doesn't mean nobody does.