loading...

re: Code Organization in Functional Programming vs Object Oriented Programming VIEW POST

TOP OF THREAD FULL DISCUSSION
re: There are a few ways to handle them. In the article, I just use Promises. The other way is to use Dependency Injection where things like fsModule, ...
 

Thanks for the response!
I actually stumbled upon this post after asking you here and found it very helpful.
My conclusion after reading it and a few others was that side effects are not to be eliminated just to be minimized.
Where it is clear that there should be side effect I just leave it

code of conduct - report abuse