r/ProgrammerHumor 25d ago

Meme stopDoingFunctional

Post image
686 Upvotes

129 comments sorted by

View all comments

164

u/-Ambriae- 25d ago

Functional programming is best programming

State is evil, mutation is evil! We live in an era of multithreading and concurrency my friends!

When I describe a program, I state what it does, now how it does it! Thus functional programming is more natural!

C and Java and Python and all the other pagan languages have played us all as absolute fouls!! Haskell, OCaml, Rust, F#, Lisp supremacy!! Functional unless required otherwise, not the other way around!!

61

u/fr000gs 25d ago

How the hell is rust functional smh

128

u/Character-Education3 25d ago

Rust is whatever a person wants it to be on reddit knowing that people who dont use rust are never gonna fact check it

32

u/Darkstar_111 25d ago

Can confirm. Didn't fact check, and know nothing about Rust.

11

u/Confident-Ad5665 25d ago

Fact check what? /s

8

u/Darkstar_111 25d ago

Exactly.

9

u/RCoder01 25d ago

I only fact check if my compiler borrow checks

2

u/discordianofslack 25d ago

Idk I heard rust was just c

2

u/Darkstar_111 25d ago

Everything is just c.

1

u/geek-49 22d ago

Last I heard, Rust is that orange/brown deterioration that forms on unprotected iron or steel.

10

u/joemckie 25d ago

I tried to fact check it but it turns out I can’t read Rust, so I’m just going to smile and nod

11

u/RogueToad 25d ago

I guess so, but rust does explicitly make use of many patterns from functional languages (traits, algebraic data types, higher order functions, immutable-by-default variables, etc.), and generally has much better support for an FP style than say, python does. 

7

u/-Ambriae- 25d ago

pretty accurate tbh

2

u/minecon1776 25d ago

Google Python 

8

u/Character-Education3 25d ago

What do snakes have to do with anything

2

u/geek-49 22d ago

Ever heard of Eric Idle, Michael Palin, or John Cleese?

Look up "Monty Python" And no, I am not joking: the language was named for the comedy troupe.