[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]

what the LITERAL FUCK is functional programming and why should

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: 29
Thread images: 3

File: 88231238123.jpg (104KB, 1000x794px) Image search: [Google]
88231238123.jpg
104KB, 1000x794px
what the LITERAL FUCK is functional programming and why should I bother rewriting my clean code to some new trendy pattern?
>>
>>61047455
>new
FP ain't new. FP is fucking old.
>>
>>61047455
It's nothing, don't worry about it, Mr Dinosaur.
>>
>>61047455
>new
>>
>>61047455
It's the latest academic fad. Kids need those in order to make themselves feel superior. Don't worry, it will go away on its own. I'm a senior software dev and I asked at work and literally no one has ever heard of functional programming or ever read SICP.
>>
>>61047517
I don't know if you're serious or not.
>>
>>61047525
100% unironical
>>
>>61047536
OK. Stay in your cave anon, the wolrd has evolved without you.
>>
>>61047549
>evolved
You freaks just admitted your latest trend is actually pretty old.
>>
>>61047569
FP is old, code monkeys realizing that it's the future is recent.
>>
>>61047575
>it's the future
It was selected out of the future a long time ago and has been completely irrelevant for ages. 99% of the code written out there today is non-FP. Stay mad.
>>
>>61047517
>he never knew the joy of monads
>>
>>61047455
Functional programming is probably what you are already doing.

Unless you are OOP.
>>
>>61047472
>>61047477
>>61047498
>>61047549
>>61047601
Alright kids, so what the fuck is it then?
>>
>>61047597
>99% of the code written out there today is non-FP
You're really living in a cave anon. FP is conquering the world.
>>
>>61047615
Sure thing, kiddo. Except, it's the exact opposite, you guys are in your little confirmation biased cave while I'm in the real market out there.

>>61047598
FP is literally the feminine penis of /g/. Don't fall for that meme.
>>
>>61047455

Another attempt at a system of soft rules to somehow make bugs impossible. Like all the others. Ignore it unless you are bored.
>>
>>61047649
>real market out there

No, anon, you're also in a confirmation biased cave, it's just a different cave.
>>
>>61047649
OK anon. I'm glade you're a senior. You're soon out. We have to get rid of dinosaurs.
>>
>>61047615

Never head about it in the enterprise sector.
>>
>>61047683
>Never head about it in the enterprise sector.
Because you know the whole industry world.
You don't even know that all the major languages have introduced lambdas because if you don't become FP you become obsolete.

Only Embed C is not going FP today.
>>
>>61047610
The philosophy that functions should have as few side effects as possible, and that variables should mutate as little as possible.
Pure functional is when both of these are enforced.
>>
>>61047722
>FP is a philosophy
Go to bed, Stallman. Not everything is a philosophy.

>>61047610
To answer you properly, it's a declarative programming paradigm in which everything is a function to be evaluated, which is implemented through higher-order functions and recursion.
>>
>>61047722

>philosophy
Fuck off with your liberal arts bullshit, computer science is an exact science!

>as few side effects as possible, and that variables should mutate as little as possible
You can have that using literally any paradigm. That is quite certainly NOT what makes FP distinct.
>>
>>61047722
that's the philosophy of any decent programmer
>>
File: 1497656552063.jpg (59KB, 506x402px) Image search: [Google]
1497656552063.jpg
59KB, 506x402px
>>61047799
Programming is neither a science nor exact you autist
>>
File: 1497657204142.png (22KB, 470x216px) Image search: [Google]
1497657204142.png
22KB, 470x216px
>>61047455
Functional programming begets clean code, nigger
>>
>>61050208
This is what /g/ actually believes.
>>
>>61050125
You could say it is finally the time when the main programming languages start to support making decent programs.

(Inspired by their smaller FP language competition and the need to get this shit done for multi core utilization & distributed computing.)
Thread posts: 29
Thread images: 3


[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.