cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agoWhy indeedlemmy.mlexternal-linkmessage-square188linkfedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1external-linkWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square188linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarethesystemisdown@lemmy.worldlinkfedilinkEnglisharrow-up0·2 years agoSome devs will include a whole library for one thing instead of trying to learn another way to do that thing.
minus-squarechraebsli@programming.devlinkfedilinkarrow-up0·2 years agoA whole library which was meant to to 10 things, but you only use one. And that for x libraries
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up0·2 years agoNowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.
Some devs will include a whole library for one thing instead of trying to learn another way to do that thing.
A whole library which was meant to to 10 things, but you only use one. And that for x libraries
from * import *Nowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.