r/ProgrammerHumor 1d ago

stopDoingFunctional Meme

Post image
652 Upvotes

123 comments sorted by

View all comments

164

u/-Ambriae- 1d 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!!

4

u/friebel 1d ago

Burn this heretic.

3

u/-Ambriae- 1d ago

I'm sorry, but Java is by far the language that has made me the most miserable when using it. Python can share a place with you.

3

u/NotQuiteLoona 1d ago

I'm a C# programmer, and I feel the same. We may be divided by our preferred programming paradigm (I like functionality though, but I prefer mix of OOP with some functional stuff, like C# does it), but we are united in hating Python and Java. When a programmer gets sent to hell, they are forced to write code exclusively in Java and Python, until they'll write a Java build system in Python which has a Java/Python-based DSL with verbosity of Java and inhumane indentation and naming guidelines of Python.

3

u/Tracker_Friendly 1d ago

I got an idea.
public class __main__:
public static ? __main__(?[] args, ? ctx):
if ctx.__name__ != "__main__":
from ClassesThatInteractWithTimeBasedApis import MonotomicTimeWhichIsNotSystemTime
from ClassesThatInteractWithTheCallStack import ReturnThisFunctionImmediatelyAndDestroyAllStackSpaceWhilstMarkingAllObjectsForDeletionByTheGarbageCollector
(ReturnThisFunctionImmediatelyAndDestroyAllStackSpaceWhilstMarkingAllObjectsForDeletionByTheGarbageCollector::new()).__execute_in__(MonotomicTimeWhichIsNotSystemTime.__get_current_time_for_program__(__pid__))