What is functional programming, and how is it different to OOP?

589 viewsEngineeringOther

I’m a mid level Swift developer and I’ve only ever worked with the Object Orientated Programming paradigm.

I’ve heard about functional programming and I tried Googling what it is, but I couldn’t understand the resources that explained it. Also, reading functional code is even more confusing.

So I was hoping that someone who understood it could break it down in incredibly basic and simple terms, and the benefits/drawbacks that it has compared to OOP.

In: Engineering

8 Answers

Anonymous 0 Comments

Since you are a programmer, the best way to understand the difference is to explore and try some stuff in a purely functional language like Haskell. You’ll (maybe unpleasantly) notice the differences real quick.

You are viewing 1 out of 8 answers, click here to view all answers.