#19221: Some new (n,2^k,1)-BIBD
-------------------------------------------------+-------------------------
       Reporter:  ncohen                         |        Owner:
           Type:  enhancement                    |       Status:
       Priority:  major                          |  needs_work
      Component:  combinatorial designs          |    Milestone:  sage-6.9
       Keywords:                                 |   Resolution:
        Authors:  Nathann Cohen                  |    Merged in:
Report Upstream:  N/A                            |    Reviewers:  Vincent
         Branch:                                 |  Delecroix
  78d008dce6ad2f415dc703861b529f6fa0e95841       |  Work issues:
   Dependencies:                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by vbraun):

 Replying to [comment:32 ncohen]:
 > It's probably just that I am dead tired of typing
 `G.is_strongly_regular(parameters=True)`, just before getting an error
 because it should be `return_parameters=True` and to do the very same
 mistake in the other direction with `is_t_design`. I do this 10 times a
 day at least, no joke.

 The solution is to have proper names for methods, not random (and not tab-
 discoverable) keyword arguments to change the output to contradict the
 method name:
 {{{
 sage: obj.is_foo(parameters=True)
 (42, 'cherry')
 }}}
 What does that tell me without reading the docs? Nothing. VS:
 {{{
 sage: obj.enumerated_fruit()
 (42, 'cherry')
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19221#comment:36>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to