[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Praise of Lua from a game developer
- From: Petri Häkkinen <petrih3@...>
- Date: Fri, 27 Jul 2012 17:11:47 +0300
On 26.7.2012, at 19.25, steve donovan wrote:
> PS. I note in the comments you were approached by a member of one of
> the Testing cults, offering to send you pamphlets. I think testing is
> cool, but I question the judgement of people who think that _only_
> testing is cool.
Yeah, the biggest problem with test driven development for me is that writing test code is dead boring :) Even if it would make me 2x productive (which I really doubt) I probably couldn't never force myself to use it.
I think a better alternative would be to implement optional type annotations and automatic type inference system for Lua. These could be used to do static type checking and would help catch errors early.
Something along the lines of metalua & luainspect which I should research more into when I have some time.