It lets me write less JS

One of the most common arguments I hear for using large libraries in production code is…
It lets me write less JS.
That’s some funny math.
Shipping megabytes of JavaScript to save kilobytes of JavaScript just doesn’t add up. Adding hundreds or thousands of dependencies so that you can write a few less lines of code is a bad tradeoff. So is locking your entire site or app into a library indefinitely.


This content originally appeared on Go Make Things and was authored by Go Make Things

One of the most common arguments I hear for using large libraries in production code is…

It lets me write less JS.

That’s some funny math.

Shipping megabytes of JavaScript to save kilobytes of JavaScript just doesn’t add up. Adding hundreds or thousands of dependencies so that you can write a few less lines of code is a bad tradeoff. So is locking your entire site or app into a library indefinitely.

I’m not saying developer ergonomics and ease of authoring code don’t matter. They do.

But we’ve grossly over-indexed them to the expensive of things like resilience, the maintainability of our code base, and the experience of the people who actually use the things we build.

☀️🧠 Summer of Learning Sale! Join the Lean Web Club today and get 1 month free, plus 30% off for the first three months after that. Click here to join for free now!


This content originally appeared on Go Make Things and was authored by Go Make Things


Print Share Comment Cite Upload Translate Updates
APA

Go Make Things | Sciencx (2024-06-26T14:30:00+00:00) It lets me write less JS. Retrieved from https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/

MLA
" » It lets me write less JS." Go Make Things | Sciencx - Wednesday June 26, 2024, https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/
HARVARD
Go Make Things | Sciencx Wednesday June 26, 2024 » It lets me write less JS., viewed ,<https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/>
VANCOUVER
Go Make Things | Sciencx - » It lets me write less JS. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/
CHICAGO
" » It lets me write less JS." Go Make Things | Sciencx - Accessed . https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/
IEEE
" » It lets me write less JS." Go Make Things | Sciencx [Online]. Available: https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/. [Accessed: ]
rf:citation
» It lets me write less JS | Go Make Things | Sciencx | https://www.scien.cx/2024/06/26/it-lets-me-write-less-js/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.