News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by ivan_gammel on Sunday March 31, 2024 @03:12PM (#39887124)
Oh, come on. They do have an example of architecture, not literal example of events. It doesn’t matter what trivial implementation of Observer pattern you choose.
Re:A proposal to add signals to JavaScript by explaininjs on Sunday March 31, 2024 @03:15PM (#39887153)
Except one is already built into the language? And it provides all the upsides of signals with none of the downsides? (Modulo proper use of `using` directives)