2 ms·
It may not look better to you, but I find it works better in the sense it is actually re-usable and understandable. I have worked in microservice based archite
by lgunsch 12y ago
It may not look better to you, but I find it works better in the sense it is actually re-usable and understandable.
I have worked in microservice based architectures where the pattern (the one he started with, not the nice result) is repeated thousands of times. You end up with an enormous amount of duplication, and the helper methods, that are designed to be re-useable, are never re-used once. After a few bugfixes in each original method, the code is much more complicated then it needed to be. If it was made modular as he has done, it would still be a rather simple.