by qsort · 6y ago · 0 comments
I personally find it hard to understand a concept, even in pure math, if I don't understand the motivations that lead to that concept being formulated (not necessarily practical applications, I'm fine with purely theoretical concepts, just why that definition solves a problem, I guess); it's simply too much to ask someone to "get" programming without an intuition of what types of problems it solves.
The fact that more and more people get into programming, even professionally, without proper mathematical fundamentals is another topic entirely.
Well of course that's fatuous-- a math teacher's job in this case is to explain category theory. It would be professional malpractice for them to use an analogy to justify not teaching category in the interest of teaching practical programming techniques.
Actually, I always thought people were referring to Doug Crockford's talk about monads where he makes an offhand analogy to burritos at the beginning. In that talk the analogy has absolutely nothing to do with the 45 minutes of slides he presents, so it always struck me as weird. I had no idea bloggers had actually used a burrito analogy to explain monads-- I now realize he was making an allusion to that.
At any rate, in his talk he explicitly avoids both category theory and type theory in an attempt to explain monads to Javascript programmers for practical programming purposes.
The way I've thought about it is that we cannot understand a problem until we've faced it ourselves.
And too often we try to teach each other by going straight to the answer, and then it just doesn't stick.
I recall this happened to me when reading about 'soft' skills (such as collaboration methodologies), it wasn't until I was working with a team of people at a job and was faced with the problems these methodologies attempt to solve that I was able to read about them without immediately thinking "this sounds like bullshit"