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
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
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
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