News for hackers. Stuff that matters.
Re:Clever code is probably the worst code you could write by MrJohz on Wednesday May 22, 2024 @12:54AM (#40437470)
Rhino is a very uncommon engine though. It has its niche, but if you're developing for simpler engines like that, then you typically know that in advance and know what considerations you're going to need to make for that.

When it comes to performance, lessons that apply to Rhino are unlikely to apply to more mainstream engines.

EDIT: That's not to say that everyone should use map and forEach all the time, just that your benchmarks are unlikely to be relevant to most JS devs outside of your specific use-case.

There are no comments on this comment yet.