[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: From Lua to Python?
- From: Javier Guerra Giraldez <javier@...>
- Date: Mon, 3 Jul 2017 15:14:08 +0100
On 3 July 2017 at 14:49, steve donovan <steve.j.donovan@gmail.com> wrote:
> But I lost interest in staying faithful to
> that mission, recognizing the differences between the languages, and
> wanting to work with the strengths of Lua.
+1 on that
the general impression i got when reading the penlight sources was
that they were very good implementations of somewhat useful but not
really critical abstractions.
the bad thing (at the time, i think it improved a little afterwards)
was how the interwined code reuse meaning how if you want just one or
two nice things, you had to swallow everything below that.
for example, sets are very easy to do in Lua, but slightly tedious to
have all the relevant operators. so it makes sense to get from a
"standard" library; but using penligh sets meant also using the
provided lists, arrays, classes... no thanks.
so, i find that most of my code reusing in Lua is in the form of
recipes, more than libraries. yeah, i know that doesn't scale well
to team work.... :-(
--
Javier