@cm0002@lemmy.world to Programmer Humor@programming.dev • 12 days agoWhy indeedlemmy.mlimagemessage-square200fedilinkarrow-up11.53Kcross-posted to: programmerhumor@lemmy.ml
arrow-up11.53KimageWhy indeedlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 12 days agomessage-square200fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@thesystemisdown@lemmy.worldlinkfedilinkEnglish21•12 days agoSome devs will include a whole library for one thing instead of trying to learn another way to do that thing.
minus-squarechraebslilinkfedilink13•12 days agoA whole library which was meant to to 10 things, but you only use one. And that for x libraries
minus-square@bleistift2@sopuli.xyzlinkfedilinkEnglish7•12 days 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.
from * import *
A whole library which was meant to to 10 things, but you only use one. And that for x libraries
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.