Hacker News new | past | comments | ask | show | jobs | submit login

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.




I wish they would still use Scheme in intro computer science. It's so obvious in that language what is and isn't pure functional.



We use it at Berkeley for the first CS class, CS61a. The final project is writing a scheme interpreter in python!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: