Jori Mäntysalo wrote:
>> And those edge cases should be documented.
> 
> Maybe. But something like Graph().is_connected() is easy to check, if
> the user wants to know if empty graph is defined to be connected.

When there is no ambiguity in the method that will be called, yes. But 
as soon as you have multiple implementations or some level of 
genericity, things are less clear, and it is better if the expected 
behaviour is *documented*.

-- 
Marc

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to