Vector2 Class - OOP in love2d?

Showcase your libraries, tools and other projects that help your fellow love users.
Teraku
Prole
Posts: 27
Joined: Mon Jun 24, 2013 10:01 am
Location: The Netherlands

Re: Vector2 Class - OOP in love2d?

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Vector2 Class - OOP in love2d?

Post by bartbes »

Well, that's a bit of a necropost...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest