On Tuesday, March 27, 2018 at 10:08:18 AM UTC+2, Simon King wrote: > > ...since your code is (implicitly!) asking for prime numbers in QQ. > > However, I agree that it is (for most users) unintended behaviour, and > as a corollary to "explicit is better than implicit", we have "implicit > is not as good as explicit".
There are some design decisions affecting functions. The member function is_prime certainly should be specialized. The global function however should be helpful and return useful results. Only if the user states explcitly (either by using the member function, or giving a keyword/argument to global) should there be explicit behaviour. I know this crystallized only recently but there we are. -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.