post yfw you learned FP.
42 years old, 20 years in the industry here
what is FP?
>>59437203
functional programming.
>>59437220
Oh, explain to me how it changed your life and why other people should know how to abbreviate it
>>59437266
It blew me away.
I'm just learning it on my first CS year intro to programming class.
>>59437284
whoah dude it blew you away
question answered
>>59437302
I just wanted to talk about FP.
>>59437335
so talk about it
>>59437354
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.
>>59437186
Yeah, PHP is great. I don't understand why it gets the hate :)
>>59437368
>I dunno, I still find it really weird to code in pairs of () shit.
dude like weird man
mind blown
>>59437368
take acid
>>59437373
is php fp?
>>59437384
kek mothafucka.
do you like FP?
>>59437392
>do you like FP?
I like what works
>>59437409
like what?
>>59437434
whatever works for your application and use case
java, BASIC, whatever
>>59437454
do people use FP outside academia?
>>59437468
>do people use FP outside academia?
yes
>>59437481
got any examples?
>>59437497
Python is FP
>>59437540
that seems pretty cool.
I though python was OOP.
>>59437540
Or OOP.
Anyway FP for me means Floating Point.
>>59437562
Ruby, Python and Lisp are FP
>>59437600
So it seems OOP is the realm of low skilled amateurs.
>>59437619
>So it seems OOP is the realm of low skilled amateurs.
mind = blown
thanks FP
>>59437266
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).
>>59437653
>modular programs
>parallelizable
FP confirmed for a 2017 meme. It will wear off as it did before.
>>59437600
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.
>>59437673
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.
>>59437186
I felt really blown away when I saw the connection between logic, typed lambda calculus and FP.
>>59437186
translate it nerds
kek why are you learning how to use deprecated software
>>59437673
>C can't be multithreaded
>C isn't modular
Shoo shoo pajeet
>>59437186
It was a bore. I really didn't care for it.
>>59437540
Python is definitely not FP