The Cost of JavaScript Frameworks
Ok, so I generally agree with the content of the article.<p>I want to pick on the up front assumption though.  He lists 4 costs that are paid -<p>---<p>The cost of downloading the file on the network<p>The cost of parsing and compiling the uncompressed file once downloaded<p>The cost of executing the JavaScript<p>The memory cost<p>---<p>What isn&#x27;t mentioned is WHO&#x27;S paying those costs.  And I think that generally matters when you&#x27;re trying to convince companies with a profit motive that they&#x27;re doing the wrong thing.<p>My issue is that of his 4 costs, 3 are all paid by the consumer of the product.  The ONLY cost paid by the company is the extra network traffic to download the JS bundle.  Even that can be optimized to a VERY small number if you&#x27;re using good caching and have a cdn in place. The individual consumer might still wait for that network payload, but the company&#x27;s objective cost is still going down.<p>So in general, what&#x27;s the compelling argument that I should care about the rest of the article?  None of it is bad advice.  It just seems that the only real benefits I might get are two user features<p>- Faster sites<p>- Better battery usage<p>Users like those things, but they don&#x27;t put them anywhere close to the top of the priority list for most products.<p>So I&#x27;m really walking away from this seeing a savings still.  As a developer, I don&#x27;t really love that opinion (I want to make good products that are fast and and small), but as a company stake-holder with a lot of possibly things to prioritize... This sounds like bad advice.