[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++ integration / DSEL alternative questions
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 1 Apr 2014 12:01:01 +0200
On Tue, Apr 1, 2014 at 11:57 AM, Moose <moose@posteo.de> wrote:
> b) It feels somehow 'hacky', 'non-canonical'. I was hoping that use case is
> so common, there must be a 'way to do' that is more like 'This is what
> everybody does'.
It's the first thing any Lua person would do - if they want some
initialization to happen once, then let require() do that job.
And I don't understand - the loading _will_ happen exactly once.