News for hackers. Stuff that matters.
Re:Let’s make a JavaScript Wait function by GhostVII on Sunday November 12, 2017 @10:48PM (#15684155)
> Prioritizing developer ease of use over end-user performance is a very bad habit to get into

Why is that? Whenever you use a high level language, you are making development easier at the cost of end-user performance. Or using a foreach loop instead of a regular for loop, is usually a bit slower, but makes development easier and less bug prone. Premature optimisation is the root of all evil and all that. Obviously at some point you have to prioritise end-user performance, when making decisions that will have a big impact on performance, but when making decisions on the level of promises vs callbacks, I don't think end-user performance should be a priority.

There are no comments on this comment yet.