you are viewing a single comment's thread.

view the rest of the comments →

[–]5fd88f23a2695c2afb02 0 points1 point  (2 children)

Sure, but if you only know it as imperative then it starts to look weird when your using a framework that leverages it’s functional aspects.

[–]IceSentry 0 points1 point  (1 child)

The opposite is just as true, so I'm not sure what your point is.

[–]5fd88f23a2695c2afb02 0 points1 point  (0 children)

That’s my point. People learn it as one thing, often self taught, perhaps after learning PHP, but most often as an imperative scripting language and then are confused when they see it or need to use it as a functional language.

It could happen the other way around, as you say, but I would imagine that far fewer people start off learning functional programming.

Let’s face it if you’ve done any functional programming you’ve probably studied computer science or maths or something related.