That's mostly because Lua isn't exactly suited for it. If the language supports it properly and you know how to use it, OOP is a blessing. I agree that in Love2D, it's mostly syntactic sugar, but it's a whole different story in languages like C# or even PHP. Started using MVC frameworks for my web projects, haven't looked back since.raidho36 wrote:Well I know that the idea behind OOP is a whole different story, but as of it is now, OOP is merely a bunch of syntax sugar on top of plain imperative programming. When we'll get to the real OOP then we'll have a talk.
Vector2 Class - OOP in love2d?
Re: Vector2 Class - OOP in love2d?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Vector2 Class - OOP in love2d?
Well, that's a bit of a necropost...
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest