lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jul 20, 2012 at 12:16 AM, Pierre-Yves Gérardy <pygy79@gmail.com> wrote:
> That being said, it would also hide bugs that would be catched with
> the current way of doing things...

Oh and they can be nasty - think about io.lines - if there was no
distinction between io.lines() and io.lines(nil) then a script could
easily jam due to a silly error.  It's better to fail with a big fuss
than just hang!

steve d.