Re: Colon notation in object-oriented programming
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Colon notation in object-oriented programming
- From: Petri Häkkinen <petrih3@...>
- Date: Sun, 5 Mar 2017 18:53:11 +0200
On Mar 5, 2017, at 4:26 PM, "Soni L." <fakedme@gmail.com> wrote:
> Here's a challenge for you:
>
> Write an extensible game modding API, using only static non-replaceable functions, and without ever deferring to an object function inside them.
Sorry, I don't understand. What's an "object function" and "static non-replaceable function"? In Lua there is just one function type.
Also, I don't see how not using "self" would stop me from writing a modding API.
Petri