DEV Community

Discussion on: 6 ways minimalism can help you write clean code

Collapse
 
paulasantamaria profile image
Paula Santamaría • Edited

Thank you Ken!

When I was talking about reusability I was referring mostly to reusing your own code. Like, for example, don't write the same function twice with a different name.
But I'm also in favor of reusing code through dependencies, as long as the cost of integrating that dependency is worth taking.
Like with any form of minimalism, there's no "one size fits all", it's about being aware of the cost vs value ratio in your particular case.

Collapse
 
kenovienadu profile image
Ovienadu Ken

🤗🤗🤗 then I couldn't agree with you more