News for hackers. Stuff that matters.
Re:Why Would Anyone Need JavaScript Generator Functions? by cageface on Monday November 07, 2022 @08:23PM (#33514897)
I had to rescue a saga based project that went badly off the rails and it was some of the hardest code I’ve ever had to debug in any language. Code flow was very difficult to reason about and forget about trying to use stack traces.
Re:Why Would Anyone Need JavaScript Generator Functions? by tylerchurch on Monday November 07, 2022 @08:42PM (#33514994)
Yeah I had to rescue a buggy React Native app where the devs put every backend call into sagas.

It was a pain to debug and I’ve since almost entirely ripped sagas out. It’ll be a good day when I can delete it as a dependency.