Live data from Hacker News

Fun - a new programming language for the realtime web

marcuswest.in

51–53 of 53 posts

Re: Fun - a new programming language for the realtime web

#51

Earlier quoted context omitted.

Totally - remains to be seen! Someone should take the underlying realtime datastore ( http://github.com/marcuswestin/fin ) and bundle it with mustache or !

http://github.com/ahe/choco bundles a different js datastore (js-model) with sammy and has mustache support

Nice - the relevant fin API used under the hood by Fun is dead simple:

    fin.set(id, property, value)
    fin.observe(id, property, function callback(mutation){})
Would be rockin to see if we could hook up fin to js-model!

Re: Fun - a new programming language for the realtime web

#52
post #26

For those of us who gravitate toward the code examples instead of the English it would be more clear to leave out the PHP example at the very beginning. Took me a moment to figure out what was going on.

Good feedback! I had the time to add a simple

    // PHP code
and

    // Fun code
comments at the top of the code examples. Not great but hopefully helpful :) This was meant to be a high-level intro. I'll be diving into explaining the nitty gritty of the language next month.

Re: Fun - a new programming language for the realtime web

#53
post #48
post #30

Earlier quoted context omitted.

But it still outputs something that is only consumable by web browsers. It seems to me like the potential productivity gains you'd get out of Fun would only be for tightly coupled systems where you're not worried about exposing an API, and all clients use web browsers.

Web browsers are not so "only" :) pretty good platform to start with if you're going to pick one

Yes but not a great platform to get locked into. What if tomorrow your client asks for a native iPhone app?
Post reply on HN