----- Original Message ----- From: "Youness Alaoui" <[EMAIL PROTECTED]>
> Hi NWM! > Thanks again for your patches, you keep sending them, we keep forgetting > them.. lol, I hope this one will get into SVN. maybe a > little modified. sure. that's a concept :) [snip] > this way : > 1 - no more 'source' order being important Well this a little more than what you're saying here :D gui.tcl itself has a lot of instructions in its body which are not wrapped into functions. > 2 - all the initialization will be done in one place AFTER all the files > were source, so after ALL procs are already made > available really source'ing all those files takes 1/2 of the boot time process. If there weren't inner dependencies and I could load them *after* the window had been displayed, and one by one , boot time would look significatly faster > 3 - easier to rearrange stuff since procs are all loaded > 4 - less error-prone. btw, I would move away from the "amsn" script all the proc definitions, tests, whatever and I would move them into a bootstrap.tcl as you suggest. [ot] Beside this, I would break into pieces a lot of the code in amsn (I mean all of the source of amsn). There are procs of tens of lines, how can you pass them through without getting mad? :P As you're rewriting the contactlist take this as a suggestion. And don't be frightened of break guicontactlist.tcl into several files if this would help ;) I mean: you need to create a contact ? You have to write name, put the buddy icon, the PSM etc Ok, define a proc :) Even better, define a ContactList object, made of ContactGroups containing ContactObjects which can be Print{}'ed, Create{ $id }'ed etc. What's more OO than a GUI? ;) [/ot] > p.s.: You know the amsn team is hiring, no ? ;) Yep I know :p but with my own project up and running (and waiting for updates) and exams coming up, I would hardly be helpful :P bye ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel