Elm in 5 minutes
max
334
Other errors:
- Elm is not an ‘mvc architecture’ you can write elm code using ‘the elm architecture’ which is similar to mvc. but elm is a language, not an architecture.
- Elm has JS interop through ports
- a network request would be represented as a Task in Elm. (tasks represent async actions)
- “No DOM” is incorrect, you definitely have a DOM, I think what you mean is “no DOM manipulation”
- I don’t agree that you need to learn any special elm html syntax. View functions in elm are just regular functions. You know the [] syntax is just a list right? you’re saying, for example, div [] [] (div function, taking 2 lists as arguments). it’s not a “yaml-like” syntax. it’s just a function.
Not to sound mean, but why are you writing this blog post when you don’t really understand the concepts and you’re risking misinforming people?