[email protected] wrote:
Hi!
[...]
> What's the future of scid ten years from now? Still stuck with tcl/tk? Or no
> more developed?
Tcl/Tk. I'm pretty sure of that. However, I've no problem at all with
being proven wrong here. Nor do I have a real problem with Scid staying
at Tcl/Tk, btw. (If Tcl/Tk survives...)
> What's the problem with writing the new code in a more encapsulated and
> reusable way?
No problem with writing encapsulated code. Again I take what I know, but
you can actually unplug CC code from Scid and replace it by new CC code.
Did that several times to fix problems that turned up or if I had a
tester that ran windows and who can't compile himeself. It is almost
stand alone. The only thing why I mess with menu.tcl is NLS. If one
could happily live without NLS CC code could just be sourced upon
program startup. (Same for inputeengine code btw.)
> The core function of scid is the database management.
> What's the problem if one would like to have a different GUI that simply
> opens
> scid's database to search and display games?
This might not be the problem (though I was told in the ChessX
discussion, that it is indeed. I didn't delve into that parts. I've to
believe this reasoning. Michal knows that better than me.)
> Ok, he would not have many functions of the tk/tcl version,
It would have almost none, you'd have to do them again.
> but, again, what's the problem?
No problem, I just see no one doing it.
> ChessX take a very different approach: rewrite all the code, and that is a
> monumental work.
Agree.
> But i don't think would be wise to rewrite neither c code neither tcl/tk code.
> What i think is that adding an interface that structure and encapsulate the
> actual code would be a good thing:
One point is that you have tons of globals that makes this a bit difficult.
> - new code can be written in a more reusable way.
Agree. And in fact I think it is.
> - less side effects (i love scid, but anytime i change some code it produces
> weirds behaviors on other parts of the code)
Depending on where one works this is surely right. :| Way to many
globals declared all over the code.
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users