4 ms·
I agree to some degree but at the end of the day it is a programming style. I personally prefer the functional approach with bound methods to avoid callback he
by _pdp_ 10y ago
I agree to some degree but at the end of the day it is a programming style.
I personally prefer the functional approach with bound methods to avoid callback hell, improve readability and ensure there is minimal amount of memory leaking.
That being said, async/await makes callback programming easier so it is another tool which may come handy in the situations where you really need it.