cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhy indeedlemmy.mlimagemessage-square148fedilinkarrow-up11.34Kcross-posted to: programmerhumor@lemmy.ml
arrow-up11.34KimageWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square148fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarethesystemisdown@lemmy.worldlinkfedilinkEnglisharrow-up19·1 day 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-up11·1 day 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·1 day 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.