News for hackers. Stuff that matters.
Re:Observable API Proposal by Eduard on Friday July 28, 2023 @01:50PM (#36910575)
which programming language and / or platform ? Is it too obvious to mention it?
Re:Observable API Proposal by frankfrank13 on Friday July 28, 2023 @01:54PM (#36910632)
ecmascript I have to assume
Re:Observable API Proposal by bsimpson on Friday July 28, 2023 @02:31PM (#36911171)
TC39 (the JS standards body) and WHATWG (the web standards body) have been ping-ponging this back and forth between one another.

I believe WHATWG is being favored so Observables will have a "killer app" (events) and could hence be built into the platform. As I recall, there was friction in TC39 to the effect of "RxJS exists. Why bother specifying this in the language?"

Re:Observable API Proposal by badlucklottery on Friday July 28, 2023 @03:14PM (#36911800)
> "RxJS exists. Why bother specifying this in the language?"

And, honestly, that's a great point. It's even easy to wrap EventTargets: fromEvent(target, 'eventName').

For the record: I'm a big fan of RxJS and have used it in production client-side code for several years. But even I'm not hot on this proposal to build it into the language.