Don't overload functions by return type. This is generally a bad idea. 
If designs.orthogonal_array doesn't return some kind of array then it is 
poorly named. Use three different functions, e.g. orthogonal_array() / 
is_constructible() / size_of_array()

This basic design pattern also fixes your caching problem.

On Wednesday, May 14, 2014 10:52:45 AM UTC+1, Nathann Cohen wrote:
>
> 1) A matrix (potentially big)
> 2) A boolean (telling you whether the matrix CAN be built)
> 3) An integer (telling you how large the matrix can be)
>
>

-- 
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