DEV Community

Discussion on: Functional Programming in JavaScript with Hyperapp

Collapse
 
mttaggart profile image
Michael Taggart

Thanks for the great writeup! Definitely going to look into Hyperapp for basically the exact reasons you mentioned.

You mentioned Elm a lot in this post, and for obvious reasons. Right now, Elm occupies my "favorite frontend framework" spot (which may have a lot to do with my love of Elm's typing). What about Hyperapp do you find easier to work with than Elm? Just syntax familiarity, or is there some other clutch workflow feature missing from Elm?

Thanks again. Big fan of your work!

Collapse
 
aspittel profile image
Ali Spittel

I think the syntax for sure -- Elm is a big jump because you need to learn the syntax, architecture, and functional programming. The barrier to entry is lower here. Also, since its just JavaScript, it's easier to work with libraries natively than in Elm. I also kind of disliked working with the data structures (i.e. linked lists are more fully featured than arrays) and Maybe's in Elm -- maybe that's just me though. I think if you added TypeScript or Flow into Hyperapp, you would get a pretty similar experience to Elm!