Hacker News new | ask | show | jobs
by cmwelsh 4789 days ago
My favorite functional reactive programming library for JavaScript is Bacon.js: https://github.com/raimohanska/bacon.js

"It's the _ of Events. Too bad the symbol ~ is not allowed in Javascript."

2 comments

"Turns your event spaghetti into clean and declarative feng shui bacon, by switching from imperative to functional."

Maybe I'm just old-fashioned, but if you want to get me to try out some JavaScript library, this ain't gonna do it. Feng shui bacon? Really? How about skipping the BS and showing me some real code and compare it with the code I would have written otherwise?

(This rant is not directed at you, but at the Bacon author.)

To be fair, there are plenty of examples. If you read to the next paragraph it's in the list. There is the examples folder, as well as the TodoMVC implementation.

Disclaimer: Bacon.js contributor

I sincerely apologize for my bad attitude in my previous comment. It was uncalled-for. Thanks for not taking too much offense, and thanks for the pointer to the examples.

Perhaps my feng shui was off balance yesterday!

If you really care you could use something like window['~'].