Should functional programming be taught before imperative programming?
        Posted  
        
            by Zifre
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Zifre
        
        
        
        Published on 2009-04-22T18:04:16Z
        Indexed on 
            2010/05/26
            8:11 UTC
        
        
        Read the original article
        Hit count: 717
        
It seems to me that functional programming is a great thing. It eliminates state and makes it much easier to automatically make code run in parallel.
Many programmers who were first taught imperative programming styles find it very difficult to learn functional programming, because it is so different. I began to wonder if programmers who were taught functional programming first would find it hard to begin imperative programming. It seems like it would not be as hard as the other way around, so I thought it would be a good thing if more programmers were taught functional programming first.
So, my question is, should functional programming be taught in school before imperative, and if so, why is it not more common to start with it?
© Stack Overflow or respective owner