Post yfw you learned FP

post yfw you learned FP.

42 years old, 20 years in the industry here

what is FP?

functional programming.

Oh, explain to me how it changed your life and why other people should know how to abbreviate it

It blew me away.

I'm just learning it on my first CS year intro to programming class.

whoah dude it blew you away

question answered

I just wanted to talk about FP.

so talk about it

I dunno, I still find it really weird to code in pairs of () shit.

is like, doing math but also coding.

post yfw you learned FP.

Yeah, PHP is great. I don't understand why it gets the hate :)

>I dunno, I still find it really weird to code in pairs of () shit.

dude like weird man

mind blown

take acid

is php fp?

kek mothafucka.

do you like FP?

>do you like FP?

I like what works

like what?

whatever works for your application and use case

java, BASIC, whatever

do people use FP outside academia?

>do people use FP outside academia?

yes

got any examples?

Python is FP

that seems pretty cool.

I though python was OOP.

Or OOP.

Anyway FP for me means Floating Point.

Ruby, Python and Lisp are FP

So it seems OOP is the realm of low skilled amateurs.

>So it seems OOP is the realm of low skilled amateurs.

mind = blown

thanks FP

You should know it just like you should know OOP. I've heard some opinions that FP is on uptake now, as it provides means to make modular programs, can easily be multi-threaded and type systems catch many errors (that in other languages would be detected only in runtime).

>modular programs
>parallelizable

FP confirmed for a 2017 meme. It will wear off as it did before.

Ruby and Python do have FP features but the are by no means intended to be used as such. If you try to write as much as you can in functional style you will get very ugly code.

Just like polymorphism in OOP is a meme, right?

And don't forget the third point I mentioned, which is much more important. Most of the time when you get the code in a functional language to compile, it will work as it was meant to.

I felt really blown away when I saw the connection between logic, typed lambda calculus and FP.

translate it nerds

kek why are you learning how to use deprecated software

>C can't be multithreaded
>C isn't modular

Shoo shoo pajeet

It was a bore. I really didn't care for it.

Python is definitely not FP