I gave up and made my own for my blog. Was a fun side project.
@pyromage We shall drink from your skull!
Well, Kinder eggs are a thing after all.
@calm that's what I said: Operator overloading.
@calm say you have two tables (objects) that resemble a point. Each have an x and a y value.
You want to be able to do something like this:
local pointC = pointA + pointB
You could make sure that all types resembling a point has the same metatable. In that metatable you would have a function to handle all plus operations of the points.
Classes aren't a thing in Lua. I'll admit I'm a bit rusty on all of this.
@calm they are like prototypes I guess. You embed some functions into an existing table (similar to a JS object) and overload its operators with custom function references.
@calm I'd say Lua is more dynamic due to something called metatables.
@calm it literally uses keywords like then, do, end instead of brackets.
if (i == 2) then
It also reminds me of JS in general.
@calm you haven't seen Lua syntax then.
That was a cozy last night at #Bornhack. I'm lurking somewhere in this photo.
Viciously stolen from peterkofod@birdsite
@leip4Ier unfortunately, people are resistant to change. Motorists don't want there to be bicycles, even though it can reduce traffic on their roads.
A big reason why my city is bicycle-friendly is that the bicycle plays a big role in Danish culture in general.
I have been cycling since I was a small child, albeit in a smaller town. The only exception has been when I was living at a boarding school for a year.
@leip4Ier that sounds terrifying. Part of the reason why I study in the city of Odense is that it is extremely bicycle friendly. Although not much can be done about our many hills.