Re: [elm-discuss] Tell me how to teach Web Apps

2016-11-21 Thread Martin DeMello
Some things that might help: 1. typescript 2.0 has a really nice set of type-related features. https://blog.mariusschulz.com/2016/09/27/typescript-2-0-non-nullable-types in particular, it has support for lexical closures, immutable ("readonly") data, and tagged unions, which are over 90% of what

Re: [elm-discuss] Tell me how to teach Web Apps

2016-11-21 Thread Robert Muller
Thank you! I've looked at typescript a bit and I am strongly biased toward statically typed PLs but I suppose I'll have to sort out whether or not it gets over the "helps them get an opportunity" bar. Is it really reasonably mainstream? I'll look into it. Thank you for the suggestion. Bob On M

Re: [elm-discuss] Tell me how to teach Web Apps

2016-11-21 Thread Martin DeMello
How about teaching it in typescript + react? Typescript is way better than vanilla javascript, while still being reasonably mainstream and not too different-looking. martin On Mon, Nov 21, 2016 at 3:23 PM, Robert Muller wrote: > I'm teaching a full-semester course on Web Apps this spring. It's

[elm-discuss] Tell me how to teach Web Apps

2016-11-21 Thread Robert Muller
I'm teaching a full-semester course on Web Apps this spring. It's my first time through so I have a lot to learn. I'm a long-time functional programmer (mostly ML: SML & OCaml). If I wasn't worried about my students getting jobs and internships the choice would be obvious: I'd teach Elm! But th