gfilatov wrote: ↑Mon Aug 26, 2019 5:25 pm
What it needs, is a good `code refactoring`
Which code refactoring you are need
Please be so kind to explain it more...
Hi Grigory,
and please, don't get alarmed!
when I say "it needs refactoring", it is not any kind of criticism to your
uninterrupted excellent work all this years,
(as well as, the work of whole minigui team and anyone who helped and keeps helping), without which this great tool
would not be what it is.
Basically, with refactoring I do mean (between other) two things :
1) Update older minigui code-base, so to conform with many Harbour modifications during years of development,
improvements and new functions that did not exist the time the initial minigui code was written, etc.
- a good example is hbwin library of Harbour, which offers a lot of WINAPI functions that could be used
directly in place of minigui functions with similar or even same functionality, something that would help to
reduce the total library bloat and would make the sources harmonized to the Harbour main toolset.
2) A better organization of modules, f.e. there are many functions scattered through different .prgs
that probably makes it hard to keep an account of which utility function is available and what's the
purpose it serves, which thing in turns makes difficult for a potentially interested developer to get
into code and to attempt any changes and improvements.
I know that the above things need human-hours of work, for to carefully reviewing the existing code and applying changes. And the question is, who would do that work and for what benefit.
So the "need for refactoring" is a perpetual requisiteness and an always present `TODO!` plan, which is not necessary to be directet to some individual developer, it is rather a thing that must concerning every developer regarding the tools he uses to create his applications.
I would say that are we the users of minigui that we should be engaged more energetically to locate things that need improvments and propose possible solutions. In other words, collaboration!
But for this thing to happen perhaps requires the minigui to be hosted in a repository at Github, which would help the project to draw attention
on a wider circle of developers and possible attract some of them to contribute ideas, code, etc.
regards,
Pete