Live data from Hacker News

Elm in the Real World

futurice.com

41–46 of 46 posts

Re: Elm in the Real World

#41
post #14
post #12

Earlier quoted context omitted.

Someone should make an opinionated, batteries-included JS/TS framework like Elm, based on TS, React, Flux.

The JavaScript world doesn't like that. That's why no one has made a carbon copy of Rails. Even React, Flux, Router and etc comes in several parts. I know railties are modular but at least they come from the same project and repo and update together.

Ember would be the Rails equivalent in JS-land

Re: Elm in the Real World

#42
post #40

Earlier quoted context omitted.

Either you're stuck with ES4 (and worse, you can kiss goodbye to a large number of NPM modules which are ES6+) or you still need a transpiler and a system to package your scripts, handle polyfills, etc. It's just difficult to do non-trivial JS development without only "raw Javascript" in 2016.

RequireJS, jQuery, JSF, ASP.NET, Spring are what we use.

I have to say you're missing a few years of awesomeness should you take the plunge.

Re: Elm in the Real World

#43
post #40

Earlier quoted context omitted.

Either you're stuck with ES4 (and worse, you can kiss goodbye to a large number of NPM modules which are ES6+) or you still need a transpiler and a system to package your scripts, handle polyfills, etc. It's just difficult to do non-trivial JS development without only "raw Javascript" in 2016.

RequireJS, jQuery, JSF, ASP.NET, Spring are what we use.

We used to be RequireJS/jQuery based on the frontend. While this obviously depends on what kind of application you have, attempting to develop complex UI in jQuery is not an experience I'd describe as "pleasant", nor does it naturally lead to creating reusable components.

On the other hand, switching to React + Redux + webpack (and NPM) has changed development from "we can't do that" or "let's copy paste from some other component" to "I'll have something by tomorrow" and "I'll reuse the generic React widget I made last time". It's really a game-changer.

Also, ES6 >> ES4. Destructuring doesn't bring you what real pattern-matching does, but it's still a lot nicer than what ES4 gives.

Re: Elm in the Real World

#44
post #42
post #40

Earlier quoted context omitted.

RequireJS, jQuery, JSF, ASP.NET, Spring are what we use.

I have to say you're missing a few years of awesomeness should you take the plunge.

Given that I go native, when given the option, I doubt I ever will.

Re: Elm in the Real World

#45
post #40

Earlier quoted context omitted.

RequireJS, jQuery, JSF, ASP.NET, Spring are what we use.

We used to be RequireJS/jQuery based on the frontend. While this obviously depends on what kind of application you have, attempting to develop complex UI in jQuery is not an experience I'd describe as "pleasant", nor does it naturally lead to creating reusable components. On the other hand, switching to React + Redux + webpack (and NPM) has changed development from "we can't do that" or "let's copy paste from some ot…

Now try that in the context of 30+ enterprise developer projects, composed with multiple outsourcing/offshoring partners.

Companies that still want to target IE 8 or even the old Safari for Windows.

Re: Elm in the Real World

#46
post #45

Earlier quoted context omitted.

We used to be RequireJS/jQuery based on the frontend. While this obviously depends on what kind of application you have, attempting to develop complex UI in jQuery is not an experience I'd describe as "pleasant", nor does it naturally lead to creating reusable components. On the other hand, switching to React + Redux + webpack (and NPM) has changed development from "we can't do that" or "let's copy paste from some ot…

Now try that in the context of 30+ enterprise developer projects, composed with multiple outsourcing/offshoring partners. Companies that still want to target IE 8 or even the old Safari for Windows.

Actually, we manage to mostly support IE 8 through a combination of Babel and polyfills. You don't necessarily need to forgo modern goodness in order to support prehistoric browsers.
Post reply on HN