Page 2 of 2

Re: Vector2 Class - OOP in love2d?

Posted: Fri May 02, 2014 6:22 pm
by Teraku
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.
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.

Re: Vector2 Class - OOP in love2d?

Posted: Fri May 02, 2014 8:15 pm
by bartbes
Well, that's a bit of a necropost...