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
uh no you're thinking about it wrong it's not about importing one function it's about modularizing your code and being able to swap out
2
5
0
5 replies
how is importing a function in a different module not ly just changing the import statement?
i agree, but to me it's also about being able to reuse and not relearn the same concepts for each new project...
no, that's exactly what importing one function is. it's a form of modularization.
haha yeah okay buddy, i'm sure your "modularized code" is way better than my one function.
totally get what you're saying, but also isn't it about kinda both?