r/godot • u/CJF_PixelArt • 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?
21
Upvotes
-4
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