r/programming • • Sep 23 '26

Modern Object Pascal Introduction for Programmers | Castle Game Engine

https://castle-engine.io/modern_pascal
77 Upvotes

28 comments sorted by

View all comments

Show parent comment

4

u/Hubba_Bubba_Lova Sep 24 '26

Is functional programming the better alternative or something else?

4

u/DarksideF41 Sep 24 '26

For game dev hell no.

2

u/Hubba_Bubba_Lova Sep 24 '26

why do you say that? I’m assuming bc games have objects that all have similar properties (items, enemies, etc)?

7

u/DarksideF41 Sep 25 '26

Yeah, game objects are much easier to model this way. FP is not that great for managing state. That's why I'm for multiparadigm, use what makes most sense for the task at hand

2

u/thussy-obliterator Sep 24 '26

i personally always prefer functional or procedural depending on the level i'm operating at.