Get only one thing done
Nov 6 · 1 min read
As software development, you may have heard very often what it’s better to do the only one thing in a function.
So we have tried to make it small, simple and easy. This is a fundamental approach in the software development which was known by all of us, developper.
However, such a small function sometimes force to give complexity someone if you expose them to user.
What is one thing?
I think that one thing is hiding complexity from any context that stands by anyone who faced the code.
As a developer, it’s good to make small function in order to narrow concerning. But once we stand opposite site, as a user, it could difficult to use.
We just wanted to get only one thing done.
