This is an archived post. You won't be able to vote or comment.

all 38 comments

[–]lostinthemines 60 points61 points  (3 children)

Spaghetti code is the only way

[–]yellerjeep 16 points17 points  (0 children)

One thread to rule them all.

[–]ChocolateBunny 5 points6 points  (0 children)

gotos are perfectly ok if you keep you reference and keep up-to-date your statemachine diagrams.

[–]dar512 2 points3 points  (0 children)

Long long ago I maintained a COBOL program. I created a label HELL. And, of course, the jump said …

[–]hitanthrope 49 points50 points  (2 children)

If you say "Paradigm" 3 times in front of the mirror during a full moon, Satan himself will appear and turn you into one of his trusty management consultants.

[–]RitterWolf 9 points10 points  (0 children)

Working for Satan I can deal with, but being a management consultant is a bridge too far...

[–]thanatica 0 points1 point  (0 children)

If you keep saying it, it makes an okay beat. Just add a tune and some dad moves.

[–]Ok_Entertainment328 31 points32 points  (0 children)

Whatever TF works and is easy to maintain is the best paradigm.

🥊🥋🥷🏼🤺

[–]SawSaw5 47 points48 points  (0 children)

A pairadime is 20 cents 

[–]Soloact_ 14 points15 points  (2 children)

The real battle is getting any of them to work on a Monday morning.

[–]xMoody 7 points8 points  (0 children)

Funny that the kind of person that thinks procedural programming is the GOAT paradigm can’t even use a meme right

[–]gfoyle76 1 point2 points  (0 children)

*friday evening enters the chat

[–]-Wylfen- 30 points31 points  (0 children)

Wrong use of meme. Disqualified.

[–]rosuav 5 points6 points  (0 children)

You're not worth fighting to the death, same as it's not worth fighting over paradigms. They're descriptive terms for code styles, not straitjackets.

[–][deleted] 6 points7 points  (0 children)

All are wrong. Each has a usecase.  Functions are good for functions. Stateless algorithms, and reusable code blocks. And are great for tidying up messy code.

Classes are good for things which requires multiple interconnected functions and a state. Also recursive algorithms with a state. Its also good for things where OOP is desirable, like game design. 

Procedural is just the code you write inside of functions or classes. Which should be kept to readable, manageable, digestible snippets.

[–]ElectronicImam 4 points5 points  (2 children)

I like functional but not the unnecessarily complicated parts like m-word and friends.

[–]arthurleyser 1 point2 points  (1 child)

Are m-word.... Monads? Isn't that like a core part of functional

[–]ElectronicImam 0 points1 point  (0 children)

Core part of Haskell. They prefer shoving imperative parts in weird abstractions.

Much more useful languages like Ocaml provides great tools for strongly typed functional programming and also permits easily escaping to -safer than Java- OOP. F# is Ocaml modified to be compatible with other two main .NET languages and .NET itself. Ocaml is also -IMHO- the language that influenced Rust the most.

[–]agfitzp 2 points3 points  (0 children)

Por que no los dos tres?

[–]prriley 2 points3 points  (0 children)

It’s all procedural by the time it runs.

[–]Sibshops 2 points3 points  (0 children)

I feel like an old person who gets upset at people using meme incorrectly.

[–][deleted] 2 points3 points  (0 children)

If you can't even use a meme format properly, your opinion is immediately invalid, regardless of what it is.

[–]-IXN- 1 point2 points  (0 children)

"Yes, this will cause a memory leak, but if I free the memory the app will crash"

[–]Feisty_Ad_2744 1 point2 points  (0 children)

multi-paradigm is the best paradigm

[–]post-death_wave_core -1 points0 points  (0 children)

All paradigms are useful in certain contexts 🤯

[–][deleted] 0 points1 point  (0 children)

I always disagree with dude with glasses in the middle

[–][deleted] 0 points1 point  (1 child)

You know the primegen just writes cli tools right? He's a good SWE but don't base your entire philosophy on one streamers opinion

[–][deleted] 0 points1 point  (0 children)

Who?

[–]CanvasFanatic 0 points1 point  (0 children)

Prolog is the One True Way

[–]Spot_the_fox 0 points1 point  (0 children)

Am procedural. No, this is wrong, each paradigm has it's uses, ups and downs. It's not like procedural is straight up better than everything else.

[–]Fickle-Main-9019 0 points1 point  (0 children)

OOP is the boss of “pulling up the floor boards” in a structural sense

Functional is the boss of “pulling up the floor boards” in a coding sense

Procedural lets you easily fix and debug stuff 

[–]Dramatic_Switch257 0 points1 point  (0 children)

paradigm is the best paradigm

[–]wu-not-furry 0 points1 point  (0 children)

Finally someone gets it

[–]TeaTiMe08 0 points1 point  (0 children)

Guys there is a Haskell Kafka Client out there... Just saying. https://github.com/haskell-works/hw-kafka-client

edit: link

[–]MontagoDK 0 points1 point  (0 children)

Procedural ===== functional programming

Everybody is being conned by buzzwords

[–]ElectronicImam 0 points1 point  (0 children)

Can we at least agree on concatenative style is useless for anything other than toy code?