learning icon indicating copy to clipboard operation
learning copied to clipboard

Learning Elm

Open iteles opened this issue 7 years ago • 6 comments

Why?

I want to get back into improving my coding skills every day. So why start with Elm?

  • Part of the [dwyl tech stack[(https://github.com/dwyl/technology-stack)
  • A great way to learn functional programming
  • Concise language (becoming even more concise with v0.19) which will help my motivation
  • Excellent debugger which makes for ease of learning
  • Great documentation

I've found that often I am going through a tutorial and if I have no questions (i.e. no need to open issues), it's difficult to show myself that I am making progress. This issue should help with that.

Gotta be unafraid of being a beginner.

Resources to go through

So many people have done the work to synthesise knowledge before me. This list will be continuously added to:

  • [x] https://github.com/dwyl/learn-elm-architecture-in-javascript
  • [ ] https://github.com/dwyl/learn-elm
  • [ ] https://github.com/dwyl/learn-elm-architecture-in-javascript a 2nd time
    • [ ] Review the whole tutorial again 🐜
    • [ ] Do multiple counters exercise 💪
    • [ ] Do to-do list exercise! ⛰

iteles avatar Sep 29 '18 08:09 iteles

I've already made a PR to https://github.com/dwyl/learn-elm-architecture-in-javascript/pull/61.

TIL: about pure functions and immutable state (and a little bit more exposure to TDD, which I sorely need).

iteles avatar Sep 29 '18 18:09 iteles

I went through the rest of https://github.com/dwyl/learn-elm-architecture-in-javascript but when I got to number 10 (writing the code for multiple counters on the same page), I didn't quite know where to start. I think a lot of this is down to the fact that the terminology is all still pretty new and I had left it a few weeks between the beginning and the end of the tutorial. It's also been years since I did anything that was more than superficial front-end 😭

So the plan is: go through learn-elm and then come back to this one again and see if there's a difference when I'm more used to elm.

iteles avatar Sep 30 '18 16:09 iteles

@iteles https://github.com/dwyl/learn-elm-architecture-in-javascript was designed for people who are very new to JS and "aren't sure" if they want to go straight into Elm. You probably won't need to "come back" to it at all if you don't plan to write JS. Learning Elm from Richard Feldman's book: https://github.com/nelsonic/photo-groove and/or the official guide: https://guide.elm-lang.org/ should get you up-to-speed pretty quick.

nelsonic avatar Sep 30 '18 18:09 nelsonic

I'm going to come back to it because I want to go through the To-do example and tests mostly.

iteles avatar Sep 30 '18 18:09 iteles

@iteles I will axsk you to review https://github.com/dwyl/todomvc-vanilla-javascript-elm-architecture-example/issues/5 when it's ready. 👍

nelsonic avatar Sep 30 '18 19:09 nelsonic

Done: https://github.com/dwyl/todomvc-vanilla-javascript-elm-architecture-example ✅

nelsonic avatar Nov 01 '18 12:11 nelsonic