3 ms·
When teaching our students concurrent programming using Erlang we never actually mentioned recursion and state immutability. With some careful hand-holding in t
by mzl 16y ago
When teaching our students concurrent programming using Erlang we never actually mentioned recursion and state immutability. With some careful hand-holding in the first exercises, most of the students seemed to be able to do fine. During three years of teaching the class, only two students ever asked me about immutability ("why can't I change the value of this variable?"). Recursion went similarly unnoticed, it was just the way one programmed in Erlang. Still, a lot of the code produced in the assignments was not very good, but that is to be expected from the course level and the students.
There are two main reasons why I think that most students picked it up without too big troubles. First is that we are just using these things as part of a language while focusing on other topics (concurrent programing). The other is that Erlang is language with such a different syntax from the normal Java-fare that one naturally expects to not be able to do things in the same way.
- SkyMarshal 16y agoThat's probably the best approach. If you tell students it's 'not hard', they'll immediately suspect your motives and come to the conclusion it actually is hard. If you tell them it's hard, most will believe you. Probably better just to not qualify it and slip it into the lesson when they're not expecting it.