lua-users home
lua-l archive

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


If the accepted idiom for doing a string is assert(loadstring(...))(), why not remove dofile and just use assert(loadfile(...))() in its place? The only reason I can see dofile() having its own function is for opening Lua libraries, from before require() was introduced.