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 i want from a
statically typed functional language.
2. stanza has a good rationale for optional typing:
http://lbstanza.org/optional_typing.html
martin
On Mon, Nov 21, 2016 at 3:43 PM, Robert Muller <[email protected]>
wrote:
> 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 Monday, November 21, 2016 at 6:26:56 PM UTC-5, Martin DeMello wrote:
>>
>> 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 <[email protected]>
>> wrote:
>>
>>> 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 the students are taking the course to get jobs and internships and I
>>> have to respect that so I'm looking for advice.
>>> A couple of former students in industry tell me that I definitely need
>>> to cover back-end issues. So I'm considering teaching the front 3/4 of the
>>> course using Node.js + React.js and then integrating Elm in the advanced
>>> topics part during the last 1/4 might be reasonable.
>>>
>>> But maybe not. Please tell share your thoughts with me!
>>>
>>> Bob Muller
>>> Boston College
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.