Op 2006-02-08, Steve Holden schreef <[EMAIL PROTECTED]>:
>
> Why should a module be callable? What's the advantage? Should we be able 
> to add two modules together, yielding a module that contains all the 
> code of both modules? What happens if I multiply a module by two - 
> presumably the result should be the same as adding a module to itself? 
> Perhaps we should be able to divide a module by a function?
>
> The pursuit of orthogonality, while admirable, can lead to insanity if 
> pushed too far.

This is not an argument. This doesn't give a clue about where to stop
this pursuit en when to go on.

Whether it is usefull to call modules add them or multiply them by two
is up to the person producing the code. That is no different than when
he decides it is usefull to call certain objects, add them or multiply
them by two.

I can understand there are implemenation details that make it not
worth while to implement this. But otherwise I would think it
a bad reason to give up orthogonality just because one can't imagine
what it could be usefull for.

-- 
Antoon Pardon
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to