Well I am not really part of the Python community, but I am a redditter and this gives me a bit of exposure I suppose.
From my point of view the biggest issue is the way Function Programming zealots approach the table. There is a pre-existing assumption that everything functional is good and everything imperative is bad. Obviously this is absurd, yet in so many functional-programming articles that flow through reddit there seems to be a subconscious bias toward this line of thinking.
Viewing it from a pragmatic point of view functional programming hasn't really delivered for me. Recently there was a mario-brothers clone written in Haskell (I think) that was hailed as a major achievement. I don't want to be negative towards the authors of that, but it really doesn't seem like a fantastic achievement. In reality it seems to reveal how ill suited purely functional programming is for real world projects.
Of course to swing the other direction and disregard everything functional as academic bluster which is not useful at all in the 'real world' is equally absurd. The fact is that there are a huge amount of things I have taken from functional programming. I program in C++ primarily, although I experiment around with D and it's functional features are the most appealing reason for me to do so.
Recently there was a mario-brothers clone written in Haskell (I think) that was hailed as a major achievement.
When I saw that, I didn't think, "Wow, somebody wrote something with Haskell!", I thought, "Wow, somebody wrote a Mario-brothers clone, and happened to use Haskell." As the Haskell community grows, more and more useful, "real-world" projects will spring up.
These achievements are not amazing because Haskell is such a hard thing to program in, but because they prove that Haskell can be used to do things that many assume would be hard to do, because they are hard to do in most languages, but aren't hard to do in Haskell.
...more and more useful, "real-world" projects will spring up.
These achievements [...] prove that Haskell can be used to do things that many assume would be hard to do, because they are hard to do in most languages, but aren't hard to do in Haskell.
You're talking as if the future has already come. And no, writing a Mario clone isn't particularly hard in most high-level imperative languages.
I agree it's not, but many would assume it would be harder to do in Haskell, because games are inherently very stateful. My point was that it's not, as that clone demonstrated.
10
u/DarkGoosey Nov 11 '08
Well I am not really part of the Python community, but I am a redditter and this gives me a bit of exposure I suppose.
From my point of view the biggest issue is the way Function Programming zealots approach the table. There is a pre-existing assumption that everything functional is good and everything imperative is bad. Obviously this is absurd, yet in so many functional-programming articles that flow through reddit there seems to be a subconscious bias toward this line of thinking.
Viewing it from a pragmatic point of view functional programming hasn't really delivered for me. Recently there was a mario-brothers clone written in Haskell (I think) that was hailed as a major achievement. I don't want to be negative towards the authors of that, but it really doesn't seem like a fantastic achievement. In reality it seems to reveal how ill suited purely functional programming is for real world projects.
Of course to swing the other direction and disregard everything functional as academic bluster which is not useful at all in the 'real world' is equally absurd. The fact is that there are a huge amount of things I have taken from functional programming. I program in C++ primarily, although I experiment around with D and it's functional features are the most appealing reason for me to do so.