DEV Community

Discussion on: Why are you learning Elm?

Collapse
 
dwayne profile image
Dwayne Crooks

That's cool as well. Care to share your reasons why?

Collapse
 
__orderandchaos profile image
Order & Chaos Creative

Mostly not knowing what I'd use it for. It's just not a language I've invested time in finding out about.

Thread Thread
 
dwayne profile image
Dwayne Crooks

For front-end UI development. Single-page web apps or for little widgets on the page.

What are you building? Elm could be a fit.

Thread Thread
 
__orderandchaos profile image
Order & Chaos Creative

Node/Python/PHP APIs, React/Angular Frontends. Some native JS on CMS templated/legacy sites.

Is it similar to how you might use Typescript?

Thread Thread
 
dwayne profile image
Dwayne Crooks

They're similar in the sense that TypeScript and Elm are both programming languages. But different in the features they emphasize. They make and value very different tradeoffs. And so depending on the tradeoffs that make sense for your projects you'd choose one over the other.

React/Angular frontends can be built entirely with Elm and the Elm architecture. With TypeScript you'd still be using React/Angular except you'd be writing it with TypeScript.

Thread Thread
 
__orderandchaos profile image
Order & Chaos Creative

Alright I'm in.

The Elm Architecture looks really cool.