Re:Ask HN: How long do you take to digest a Hard Programming...
by yewweitan on Thursday April 07, 2011 @04:20AM
(#2418689)
Thanks for the feedback. What you've said is true, and I should have included a clause asking what the answerer's background was.
Personally, I started out programming with Lisp, and hence got introduced to the functional style early on. So that was 2 years spent with Lambda's, and a year with laziness, type classes and purity (Haskell) before being introduced to Continuations.
Continuations took me months, as did monads and typeclasses. Largely because there were preconceptions about programming that I had to unlearn before I could learn them. Continuations essentially require that you descend to a level of abstraction below structured programming and think "what is the computer actually doing", and then re-ascend the abstraction ladder with a new way to structure that. Monads require that you understand typeclasses, and typeclasses require that you think in terms of sets of types and the relations that govern them; it's not enough to import familiar OOP concepts.
A bunch of papers use such obtuse mathematical language that I couldn't hope to understand them without a grad degree in math.
OTOH, reading something like Lisp in Small Pieces (or even SICP) now is considerably easier, because I'm familiar with the basic concepts.