I use modules, sometimes OOP if i work with objects and even though about using Entity Composed System & Functions combo to only call methoods that i need when i need them, but i feel that i can’t write code that can be easily expanded, is there anyone who can help pls?
Well that’s really your own preference as everybody had a different learning curve than others, I do see what you mean, but does it really impact your daily work with code?
I think your wording is a bit abstract, you should include more details in your post.
When it comes to OOP code I think the easier way to balance different metrics(readability, code size, speed, etc) is to try to reflect your game logic/inheritance logic within the OOP code itself. If you find yourself having to write the same things multiple times, or you’re overusing comments to describe OOP objects, relations and properties then you may have to rethink how you link things together within your OOP tree.
I’m simply asking for some tips on writing more elastic code that can be easily expanded upon itself without rewriting entire framework entire update, i used few methoods like OOP, some sort of ECS and mapping but i really want to learn more about other stuff that might help