#16393: change some upper bound names and arguments in sage/coding
-------------------------------------+-------------------------------------
       Reporter:  ppurka             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  coding theory      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Punarbasu          |    Reviewers:
  Purkayastha                        |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  d1dcbcab81d70860158ac1cb9186369ba26490b0
  u/ppurka/ticket/16393              |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by vdelecroix):

 * status:  needs_review => needs_work


Comment:

 Hello,

 Why would you import such stuff in the global namespace ? It is a complete
 nonsense. I would rather '''remove''' all of `codesize_upper_bound`,
 `singleton_bound_asymp`, `plotkin_bound_asymp`, `elias_bound_asymp` and
 `mrrw1_bound_asymp` from the global namespace. First of all, some of these
 names are not fully expanded as they should be. Most importantly, I think
 that most of the users will not use that at all and can not even guess
 what it could be.

 In order to have a clean interface, I strongly suggest to prefix all of
 these with the namespace `codes` (as it is the case with `designs` for
 example). In other words
 {{{
 sage: codes.bounds.plotkin(10,2,3)
 192
 sage: codes.bounds.elias(10,2,3)
 232
 }}}

 That way, to have access to all bounds for codes you would just have to do
 {{{
 sage: codes.bounds.<TAB>
 }}}
 which is much more natural.

 Bounds are not only of interest for codes, right? So please clean it up!

 Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/16393#comment:6>
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