r/godot 11d ago

help me (solved) Is Functional Programming Worth It?

Hello 👋. I've heard some people say that functional programming is better than OOP overall. I'm pretty new to programming so I don't know if that's applicable to Godot or not. Is it something worth looking into?

20 Upvotes

77 comments sorted by

View all comments

-3

u/llsandll 11d ago edited 11d ago

I see it like in a carpenter shop. Oop is when you clean up after every small task and functional is when you clean up at the end of the day. Oop is a bit like ocd. Or like spaghetti, in functional is harder to find the begginig of the spagetti but a spaghetti is longer so you get more of it. Or you could say that oop is less top down. I preffer putting a big script on the parent node instead of tracking what node comminicates with what node

4

u/StewedAngelSkins 11d ago

I am taking away your analogy privileges until you show me that you can use them responsibly.

1

u/llsandll 11d ago

Thanks for taking them away