Re:Learning to Program: Why Python?
by driax on Wednesday May 09, 2012 @07:56AM
(#3948093)
I never really accepted the argument that Scheme/Lisp is simpler than a language like Python, simply because everything in the language is reduced to constants/terminals (what's the right terminology here?) and functions.
Many language differantiate between statement and expression, and compile-time and runtime and lots of other stuff.
Saying that we can express C-structs in a language by reducing them to functions is not a simplification, instead I would argue it's worse when trying to grok C. While coming from Python it would be easier since we already have classes, and C-structs are simply compile-time final classes without inheritance.
I agree though that learning Scheme can teach a lot, just not necessarily how to grok every other language well.
Many language differantiate between statement and expression, and compile-time and runtime and lots of other stuff.
Saying that we can express C-structs in a language by reducing them to functions is not a simplification, instead I would argue it's worse when trying to grok C. While coming from Python it would be easier since we already have classes, and C-structs are simply compile-time final classes without inheritance.
I agree though that learning Scheme can teach a lot, just not necessarily how to grok every other language well.