@cm0002@lemmy.world to Programmer Humor@programming.dev • 29 days agoWhy indeedlemmy.mlimagemessage-square194fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imageWhy indeedlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 29 days agomessage-square194fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@thesystemisdown@lemmy.worldlinkfedilinkEnglish0•28 days agoSome devs will include a whole library for one thing instead of trying to learn another way to do that thing.
minus-squarechraebslilinkfedilink0•28 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.xyzlinkfedilinkEnglish0•28 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.
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.