5 ms·
Because he cares about his users who might be using his sofware on a smartphone? If you disregard performance completely, your users will either use your app be
by scns 5y ago
Because he cares about his users who might be using his sofware on a smartphone? If you disregard performance completely, your users will either use your app because they have to and hate it or switch to something else if they can.
- tephra 5y agoYou also have to focus on the correct performance issues and personally I've never seen writing functional js/ts being the issue.
- lostcolony 5y agoDefine functional js/ts. If it's just "oh, hey, I am using first class functions everywhere" - yes, Javascript is great at that. If it's "I'm writing a bunch of recursive solutions for naturally recursive problems", Javascript is a pretty poor fit for it. You can do it, but it requires extra bookkeeping and care, as I mention on another comment.
- scns 5y agoI once benchmarked a simple loop, and the same loop done via recursion. The recursive solution was an order of magnitude slower.