[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Event-driven programming
>> One other question, will some modules be able to generate events?
>> Will modules be able to set up their own event servers to incorporate
>> information from other machines(i.e. if two modules could use
>> information
>> about ladders, maybe a joseki and a tesuji module will they both be
>> able
>> to use a module which reads ladders?)
>
> I'm not sure I understand your question.
I have been reading about contract programming, and the idea is that a
program specifies an interface on which other programs depend, so in
essence a program specifies a contract between individuals. Once you
program a program to the specified contract, that contract cannot change.
If you want to program additional features, then you have to write a new
contract and make it public, so that other developers can take advantage
of the new features, but also maintain the original contract.
Lets draw up a contract. The master module must at least have these
properties:
1)Open Source, and cannot be redistributed under a commercial license.
2) Well documented, with interfaces and templates demonstrating any
functionality.
I am open to other contracts provided there are other benefits.
Sincerely,
Robin Kramer
I have got to stop reading the Microsoft COM specification.
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go