cm0002@lemmy.world to Programmer Humor@programming.dev · 25 days agoWhy indeedlemmy.mlimagemessage-square206linkfedilinkarrow-up11.54Karrow-down126cross-posted to: [email protected]
arrow-up11.51Karrow-down1imageWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 25 days agomessage-square206linkfedilinkcross-posted to: [email protected]
minus-squarethesystemisdown@lemmy.worldlinkfedilinkEnglisharrow-up21·25 days 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-up13·25 days agoA whole library which was meant to to 10 things, but you only use one. And that for x libraries
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up7·25 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.