[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

post yfw you learned FP.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 36
Thread images: 4

File: raw.gif (2MB, 200x200px) Image search: [Google]
raw.gif
2MB, 200x200px
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.
>>
File: qwhatthefuck.jpg (99KB, 500x492px) Image search: [Google]
qwhatthefuck.jpg
99KB, 500x492px
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
>>
File: 51JR56PGV4L.jpg (43KB, 403x500px) Image search: [Google]
51JR56PGV4L.jpg
43KB, 403x500px
kek why are you learning how to use deprecated software
>>
>>59437673
>C can't be multithreaded
>C isn't modular

Shoo shoo pajeet
>>
File: 1483682399299.png (173KB, 630x345px) Image search: [Google]
1483682399299.png
173KB, 630x345px
>>59437186
It was a bore. I really didn't care for it.
>>
>>59437540
Python is definitely not FP
Thread posts: 36
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.