cosmoharrigan / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 0 forks source link

agent_message should take two parameters #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To easy the burden of parsing the message, agent_message should take two
string parameters. This way, the first parameter could be a command, the
second being the arguments to the command.
This scheme is very common and makes it much easier to use message passing
interfaces in languages (like C, C++) that are not that very strong in
parsing strings.

Original issue reported on code.google.com by Csaba.Szepesvari on 31 Oct 2007 at 5:33

GoogleCodeExporter commented 9 years ago
This is a good suggestion.  However, often you may want to use multiple 
arguments
anyway, so the problem of parsing strings is only lessened by this approach, 
not solved.

In any case, changing the interface is something we don't do unless absolutely
necessary, so this wills stay as is.

Thanks for your suggestion.

Original comment by brian.ta...@gmail.com on 29 Jan 2008 at 6:22