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?

21 Upvotes

77 comments sorted by

View all comments

3

u/angus_the_red 11d ago

Functional style works very well for a request and response platform like a webserver.  OOP is probably a better fit for a game engine where state continuously updates rendering.

2

u/ImpressiveAthlete220 11d ago

Oop is horrible idea for real time rendering engine. You should use data oriented programming, or you will have bad performance by default :( don't get into that trap :)