Yuri Prokushev wrote:

Current SPCC sources contains lot of unrequired code. Like having FVisible flag, or position/size info and others. Most of info can be taken from PM.

But there are reasons for that. In this case visible can be set before the window is created. And must be stored in the IDE without actually making the control invisible.

When you look carefully, most of the code is there for a reason.
I agree that the SPCC is not very good code in some parts, huge amount
of copy-and-paste. Lately I was looking at TBitmap code, and rewrote one
part (.CreateNew) to about 1/3 the size.
But, IT WORKS, and a lot of the code is OK.
Rewriting the SPCC and getting it working reliably with all the custom
controls would be about 3 years of work for one person I think.

Again, anyone free to make spcc worked on fpc. This is just my opinion. Current forms.pas code was compiled with FPC/2, but lot of things changed and now forms.pas (again) not compilable. Work with FPC/2 team are required, not separate. Still some problems with window showing (Somewere position/size sets to zero). Of course, I can search for this error, but I have lot of other work.

In my experience, rewriting things completely is almost never a good idea. Get it working with the minimum changes then tidy it up.

See
http://www.joelonsoftware.com/articles/fog0000000069.html

Because I can't answer to all "I can't do all alone" I have written this letter. Lot of ppls wants to have result for now, but no any result.

Right. So, to avoid huge amounts of extra work, don't rewrite things you don't have to.

Most projects like this bog down in the sheer amount of work and testing and bug fixing that must be done, not because any of it is particularly hard.

Aaron

--
Aaron Lawrence http://homepages.visp.co.nz/~aaronlawrence
New Zealand 025 271 8506 06 359 0796
..Gross Ignorance: 144 times worse than ordinary ignorance.


-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

unsubscribe sibyl
end

Reply via email to