<p dir="ltr">> if renumbering<br>
state variables was a big part of the time you spent refactoring,<br>
you were probably doing it wrong,</p>
<p dir="ltr">I may have written code in suboptimal way, yes.</p>
<p dir="ltr">Refactoring took long because I rewrote several applications several times over. It is simple a lot of work. </p>
<p dir="ltr">The code worked both before and after refactoring. This was not an issue.</p>
<p dir="ltr">Because of complex signatures I needed to refer to different files often. When looking at other files, new questions flooded in, leading to other files, forgetting what I was looking for.</p>
<p dir="ltr">Anyway, I found my answer. Busy time ahead: I will rewrite everything again, then again etc.</p>
<p dir="ltr">Please remember: I do not impose or "sell" this approach. I asked a question, found an answer, share it with those who faced similar problem.</p>
<p dir="ltr">Choice is good. </p>