[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C API question
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 11 Jan 2011 10:36:48 -0200
> So if a user does not have a pointer to use for a lightuserdata then the
> library would effectively force the thing which Lua does not want onto the
> user?
Sure it will! That is why the "user" is a programmer. This is not
Office. We are not in the business of providing ready-to-use solutions
to all kinds of things users may want to do. We aim to allow users to do
what they need by programming the primitives offered by Lua.
> I guess I just do not understand what the problem is with references (that
> is not already solved) and what benefit would be had from the possibility of
> removing them.
Removing them brings fewer mechanisms to learn, less documentation, and
less code.
"The fastest, cheapest, most reliable piece of code is that which
isn't there; design as much out of your code as you design in."
-- Roberto
- References:
- Re: C API question, Mark Hamburg
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, Jerome Vuarand
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, Daniel Silverstone
- Re: C API question, Doug Currie
- Re: C API question, Patrick Donnelly
- Re: C API question, Doug Currie
- Re: C API question, Roberto Ierusalimschy
- Re: C API question, liam mail