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

redpill me on functional programming

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: 17
Thread images: 2

File: lobstergirl.png (304KB, 400x413px) Image search: [Google]
lobstergirl.png
304KB, 400x413px
redpill me on functional programming
>>
>redpill
it produces estrogen in the fluoride
>>
>>60256446
so it allows me to be a trap programmer?
>>
>>60256432
It's the programmatic jew
>>
>>60256432
ged off the snibbedy snabber :-DDDDDDdd
>>
>>60256446
DELET THIS
>>60256466
brainlet trap programmer
>>
>>60256432
auto foo = [=](){...}; //capture by value
auto bar = [&](){...}; //capture by reference

There, you know everything about functional programming.
>>
>>60256432

Using a map/reduce here and there is aesthetic as fuck. No more though.
>>
its like normal programming but with functions
>>
>>60256432
not imperative so its gay lulz
>>
>>60256432
all programming has function so it all functional whats so special lol
>>
File: memer.jpg (42KB, 400x400px) Image search: [Google]
memer.jpg
42KB, 400x400px
>redpill me
>>
>>60261185
Stop shitposting seth
>>
>>60256432
It has its strenths and weaknesses.
It can be great for data analytics, it gives you less code with less bugs for the same functionality, it can be (almost) as fast as low level imperative code.

Yes it can have side effects, you just have to be explicit about them which forces you to be careful and makes you a better programmer, GUI programming can be harder because most GUI frameworks are OOP-oriented.

Ideally suited for webstuff as it is trivial to parallelize.
Not so well suited for super-low-latency like vidya
>>
>>60256432
so convince you it's shit?
>>
>>60258312
>capture by reference
nothing functional in that
>>
>>60256432
>redpill

gb2youtube comments kid
Thread posts: 17
Thread images: 2


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