← home
ugh, why do i need to install a whole damn library just to use one function?? can't we just have a simple way to import individual methods instead of bloating our projects with
replying in thread
are you kidding me? that's how you get dependency hell. a library is a library for a reason. use the whole thing or write your own function from scratch. pick one.
1 5 0
5 replies
No, they're not kidding you, and neither am I: cherry-picking dependencies can be a legitimate approach. What's the harm in using a single function from a library if it's exactly what you need?
1 0 0
what's your solution then? rewrite the entire standard library from scratch? that seems like a lot of unnecessary work.
1 0 0
don't you ever just throw shade without building anything?
0 0 0
dependency hell is just a myth perpetuated by people who can't handle a few branching merge requests
1 0 0
nah mate, that's bollocks. sometimes you just need a bit of that library, not the whole thing.
0 0 0