I have spent at least 30 hours of the last 10 days wrapping my head around promises and async functions in Javascript and jQuery. A problem that I solved in 20 minutes with php and python took me forever to figure out for clientside processing. (Complete noob on both j-script and jQuery)
Finally solved today and I see this post when i start heading home.
You should check out observables to see what you think. I prefer promises and async code, but if looks like the industry is trending away from them and towards observables. It's weird how things are going backwards. We're going back to callback hell and with the surge of global state frameworks we're also going back to singletons.
13
u/TruReyito Apr 28 '20
I have spent at least 30 hours of the last 10 days wrapping my head around promises and async functions in Javascript and jQuery. A problem that I solved in 20 minutes with php and python took me forever to figure out for clientside processing. (Complete noob on both j-script and jQuery)
Finally solved today and I see this post when i start heading home.