Skip to content

Comment on Three Routes to Spaghetti-Free Javascript

Comments

Route 1: Streamline.js, a compiles-to-Javascript language.

Route 2: Mobl, a compiles-to-Javascript language.

Route 3: Stratified.js, a compiles-to-Javascript language.

And then a side-mention for something actually in Javascript: https://github.com/caolan/async

So, to make spaghetti-free Javascript... don't write Javascript? I'll keep looking, thanks.

Try jQuery's deferred events. It is, IMO, the most elegant actual-JavaScript solution to the problem I've seen.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.