3 ms·
My theory is that he thinks that variables are an imperative language feature - so he tries to avoid using them to make it all functional. He is partially righ
by zby 11y ago
My theory is that he thinks that variables are an imperative language feature - so he tries to avoid using them to make it all functional.
He is partially right - variables are imperative. What he does not know is that he can use his variables in a way that directly translates into purely functional 'value binding' and leave them readable.
- brlewis 11y agoI wish they would still use Scheme in intro computer science. It's so obvious in that language what is and isn't pure functional.
- rubidium 11y agoThey still do at some universities. https://www.rose-hulman.edu/Users/faculty/young/CS-Classes/csse304/syllabus.html https://www.rose-hulman.edu/Users/faculty/young/CS-Classes/c...
- DanFeldman 11y agoWe use it at Berkeley for the first CS class, CS61a. The final project is writing a scheme interpreter in python!