Maric Michaud a écrit :
(snip)
i don't get your design, it seems over-complicated to mee at first glance.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 25 Aug 2008 12:52:44 +0200, Maric Michaud wrote:
> In other OOP language I would encourage you to implement this logic in
> some sort of singleton, but in python we don't like this construct,
> module level variables and function do perfectly the job, simple as
> they are.
Modules are som
Le Monday 25 August 2008 11:37:23 Steven Samuel Cole, vous avez écrit :
> Hello,
>
> I am writing an application that controls robots. Different robots can
> do different kinds of movements, such as e.g. open gripper, rotate
> gripper, etc. My RobotControl class should support all kinds of
> robots
Hello,
I am writing an application that controls robots. Different robots can
do different kinds of movements, such as e.g. open gripper, rotate
gripper, etc. My RobotControl class should support all kinds of
robots. I therefore delegate the actual control work to extra
control-specific classes, o