3 ms·
On retrospect I probably want it to be more like lua? f(this, other) -> f.call(this, other) obj.f(other) -> obj.f.call(obj, other) and then replace im
by Tarean 9y ago
On retrospect I probably want it to be more like lua?
f(this, other) -> f.call(this, other)
obj.f(other) -> obj.f.call(obj, other)
and then replace implicit this with the first argument? It is a tiny but more verbose but gets rid of all the confusion around implicit this rules so it seems like a win.