Regarding the title, Yes the first approach works most of the time.
But don't you think if programmers follow the second approach from starting itself, they don't need to worry about state updates ( asynchronous or synchronous) at the end?
As the world moves towards pair or group programming it is a good habit to make a RIGHT approach a default one. 🤗
Happy Coding!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, man, You put great points 🙏🏻
Trust me it adds value to my post.
Regarding the title, Yes the first approach works most of the time.
But don't you think if programmers follow the second approach from starting itself, they don't need to worry about state updates ( asynchronous or synchronous) at the end?
As the world moves towards pair or group programming it is a good habit to make a RIGHT approach a default one. 🤗
Happy Coding!!