Re: Vector2 Class - OOP in love2d?
Posted: Fri May 02, 2014 6:22 pm
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.