[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Refactor a block of Lua code to a function
- From: Jim <sysinit@...>
- Date: Fri, 28 Jun 2019 15:00:35 +0200
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.