Where use OOP? Is it useful for beginner scripter?

So as beginner scripter I have a lot of questions. One question is very important for me. Where use OOP? Is it useful? When I write some code I don’t know what is more effecient way to create script use OOP or normal style of writing scripts.

Please help me:D

2 Likes

In most scripts you should just use the normal style. OOP is only used when you have complex systems like vehicles/guns.

Essentially, you use OOP when you need multiple scripts to be able to call the same functions for example.

In the example of a vehicle, you may have vehicles with different speeds. This is where OOP is useful.

4 Likes

just be sure using OOP actually benefits you, if you use it just because, then don’t

2 Likes

Yeah that’s a big problem I’ve seen people using OOP for basic systems like round systems.

I only use OOP very rarely, the main benefit of OOP is scalability. Because well, OOP isn’t truly necessary but it definitely makes your life 100x easier when used properly.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.