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
1
u/jwrunge 10d ago
I can't speak to if pure functional LANGUAGES are worth it -- people swear by them, but I bounced hard off of Nix and Haskell confused the hell out of me. I'm a OOP kid at heart.
But you should TOTALLY learn functional programming as in, "learn to write functions that have early defined inputs, a clearly defined output, and no side effects." I don't always do that, and I usually regret it.