lua-users home
lua-l archive

Re: Refactor a block of Lua code to a function

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


28.06.2019, 02:44, "Tim Hill" <drtimhill@gmail.com>:
> doing so automatically based on line count has always
> seemed dubious at best to me.
it is not solely based on line count i guess.
i think that M$ compiler plugin follows the flow in the function/
procedure and factors only certain code out, eg
alternatives in if/then/else, loops etc.
sounds like a good idea for C code to me.

AltStyle によって変換されたページ (->オリジナル) /