[lltx] code style
Will Robertson
wspr81 at gmail.com
Wed May 19 11:37:21 CEST 2010
Hi,
Quick questions:
Why the obfuscation such as
local splitpath, expandpath = file.split_path, kpse.expand_path
local gsub, match, rpadd = string.gsub, string.match, string.rpadd
and so on? It makes the code typed shorter, yes, but I've found it harder to read because I haven't known the context of the functions. Is this a regular kind of thing in Lua programming?
Also, four spaces for indenting? Again, is this standard?
-- Will
More information about the lualatex-dev
mailing list