[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: how to annotate lua source-code to specify behaviour ?
- From: Daurnimator <quae@...>
- Date: Fri, 27 Mar 2015 11:12:02 +1100
On 27 March 2015 at 10:42, Valerio Schiavoni
> I'm not sure how this is relevant for my use-case, where the annotation
> should somehow guide/modify the runtime behaviour of the annotated entity
> (be it a table, a function, a variable, etc).
Just pass your object through a function: the wonders of first class
For tables and strings the lack of required () make it quite pleasant to the eye