2 ms·
I agree in terms of pure utility that that makes a lot of sense. You basically spec it out via setting up types. But in the context on SICP I'm not sure that w
by dmix 10y ago
I agree in terms of pure utility that that makes a lot of sense. You basically spec it out via setting up types.
But in the context on SICP I'm not sure that would be ideal. As that book is about teaching 101 programming by introducing you to the idea of black box abstraction and building a program through layers of abstraction.
Starting with types would be an entirely different approach to go at it.
So personally, in my ideal university, I'd prefer to learn Scheme/LISP as the 101 course introduction to programming and learn a Haskell-esque language the following term and thereafter.
Although that being said, I used a practical language as my introduction to programming (Ruby) before diving into SICP - which really taught me programming. So maybe it's worth going with practical first, then diving into the theoretical underpinning so you fully appreciate and grasp what you are doing.