Hi sergi publish you code! It sound exciting. Stef
I´ve been writing a bot for a while now, with the purpose of learning proper Smalltalk and OOP idioms/techniques (I´ve been using C-ish languages for a long time now, and I´m trying to cure myself :D). I must say that the process has been quite enlightening so far, I never really understood OOP until now.
Super! Keep going reading and coding. Did you read Smalltalk by example.
So far I have a bot that works fine for my needs, but I´d like to contribute back, so I´ll just list some thoughts and you can comment on them. All constructive criticism and pointers on how to do them are welcome!
I´m writing in on Pharo 3.
I want to split the code I currently have in 3 parts: - part 1: a couple of classes IRCClient/ZdcSecureIRCClient mirroring POP3Client/ZdcSecurePOP3Client, with the intention of contributing them back to Pharo - part 2: an IRCBot framework, which I´ll likely name 'Chromia', to be released under MIT license too - part 3: my own bot using that framework, which would add all the extras like games Does that sound reasonable?
At this point my code is quite messy, so I´m deciding whether to put it on SThub or not yet.
I´m depending on http://smalltalkhub.com/#!/~PharoExtras/JSON for reading some JSON file from a website.
Though it´s not high on my priority list, I wouldn´t mind making it as portable to other dialects as possible, too.
Cheers, Sergi