News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by catlifeonmars on Sunday March 31, 2024 @08:59PM (#39889812)
I think it’s worth avoiding a change in design when you pass some threshold of complexity. The vanilla JS approach has some scaling limitation in term of state graph complexity, and the problem isn’t the ergonomics above and below the threshold, but discontinuous change in ergonomics when you cross that threshold
Re:A proposal to add signals to JavaScript by aporetics on Sunday March 31, 2024 @10:49PM (#39890440)
Well said
Re:A proposal to add signals to JavaScript by Offler on Monday April 01, 2024 @07:30AM (#39892985)
Indeed at a certain scale the "easy" approach ends up becoming a mess. A simple counter isn't complex enough but this is a great idea and would be a positive for the language.