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:55:35 +0200
On Mar 5, 2017, at 4:48 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Have either of you adherents of `io.write(file, table.concat(results, "\n"))`,
> one of whom claims to "do exactly this now", actually tried running that
> line of code? If not, you have missed the point of that example and in
> fact of my post.
>
I know it does not work. That's why I said "If there were no implicit self and no ':' sugar" (although I typoed "were").