The good bits of Elm
- It forces you to build things without too many dependencies
- Some low-level detail must be done by the user (js makes you a bit lazy)
These can be a blessing and a curse, as some things might be better with a dedicated package, such as image uploads. For that you have to understand what base64
is and how file uploads work.
I need to start setting rules for myself ... How do I keep my programs simple? What's in? What's out?
- What format am I using? (custom headings or
elm-format
) - What indentation style am I preferring? (
2
or4
spaces) - What learning is "in" and what is "out"?1
- When using
port
s, it can be handy to have a cursory knowledge of javascript.- In general I use as little javascript as possible. Set it and forget it.
Footnotes
-
I'm using Elm as my go-to language and for that reason learning the details in a little more depth than, say, Python. However, my purpose is prototyping and I still want to keep my learning light. Some implementations (SPA, packages) get complicated quite quickly as an app scales. ↩