Clean source code
Posted: Tue Dec 10, 2019 4:29 pm
Hello,
I have an old source code. There is an input screen with many controls on it.
If you change one of the controls all others are updated. This is done by one function.
But there are many parameters to pass. Sure this could be done better.
But now I had to make some changes.
This is the source code "monster".
But now Harbourino comes into action
Define a Harbourino include file. This way you only have one place to check everything.
Change the source code to Harbourino style.
Now all is very easy to follow.
Best regards
Otto
I have an old source code. There is an input screen with many controls on it.
If you change one of the controls all others are updated. This is done by one function.
But there are many parameters to pass. Sure this could be done better.
But now I had to make some changes.
This is the source code "monster".
But now Harbourino comes into action
Define a Harbourino include file. This way you only have one place to check everything.
Change the source code to Harbourino style.
Now all is very easy to follow.
Best regards
Otto