News for hackers. Stuff that matters.
Re:Show HN: 1kb JavaScript library for building front end ap... by pakx on Sunday June 25, 2017 @11:57PM (#14633970)
Thx. Hadn't looked at timelines, and assumed it was the other way. Great job w/ hyperapp. Congrats!

FWIW I like Elm, and hyperapp seems a delightful port of the TEA idea ... plus for being a js library, with immediate access to JS and DOM. I'll look for examples using 3rd party visual widgets, and animation libraries.

That said IMO TEA is only a convenience. What I find supremely empowering about Elm is its type inference/system. If we got that in JS-land I likely wouldn't look at another language for some time to come :)

Re:Show HN: 1kb JavaScript library for building front end ap... by jbucaran on Monday June 26, 2017 @02:38AM (#14634555)
Thanks! I love Elm too. Elm is functional programming for the masses! Recently I'm kind of more curious about ClojureScript.

That said, you can totally use Flow or TypeScript with hyperapp.

Re:Show HN: 1kb JavaScript library for building front end ap... by pakx on Monday June 26, 2017 @04:50PM (#14640245)
This is going off-topic, apologies.

Yes, of course, re using TypeScript or Flow. However ... I'm not a fan of TypeScript -- if I'm going to use a different "language" (albeit one that's a transpile-able thin veneer over JS) I may as well switch to a language w/ an even better type system.

Flow, from the little I know, is closer to what I want -- still JS, but an annotation or "compilation switch" makes everything typecheck.

Re:Show HN: 1kb JavaScript library for building front end ap... by jbucaran on Monday June 26, 2017 @09:14PM (#14641827)
Same here. Flow is great though and you can use it without annotations too, just not as useful.

See: http://thejameskyle.com/adopting-flow-and-typescript.html

Re:Show HN: 1kb JavaScript library for building front end ap... by pakx on Tuesday June 27, 2017 @12:35PM (#14646898)
Ha, funny -- clicking that link leads to a page w/ this message: "This page is unavailable when linked to from news.ycombinator.com. Please find a less toxic place to spend your time." :-)

The link works when copy/pasted. Let me read.

Re:Show HN: 1kb JavaScript library for building front end ap... by christophilus on Monday June 26, 2017 @07:39AM (#14635939)
I'm also really into Clojure/ClojureScript these days. I'm going to look into getting a data-oriented version of either hyperapp or picodom implemented in ClojureScript.