JavaScript perf ppl: from a page about calculating the root mean square of an array of numbers in JS:

“Benefits Of Writing One-line Functions The less code will require less memory, so it will take less time for any Web Browser to load the script with less memory. Further, the browser renders the WebPage by executing the code line-by-line, so any operation on the website involving One-line functions will respond much more quickly as compared to the normal functions.”

This is bullshit, right?

@sil bullshit of high order. All modern browsers compile JS. There's no line by line execution.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.