#16622: Deprecate Hypergraph in favor of IncidenceStructure
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  combinatorial      |   Resolution:
  designs                            |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Nathann Cohen      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/ncohen/16622     |  b3b34e871ef20af303be1cf527fa421dd46cbaeb
   Dependencies:  #16553             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 Replying to [comment:7 ncohen]:
 > Dima :
 >
 > > What I meant to say is that you can rename things, change the
 underlying implementations, etc, as long as you do not remove functions
 and classes.
 > > No need to deprecate anything at all. IMHO...
 >
 > Right now we have a Hypergraph class and an IncidenceStructure class. In
 the future it would be good to have only one, i.e. `Hypergraph` and
 `IncidenceStructure` should be the same class. I am trying to do this by
 telling users to stop using `Hypergraph` for a while and use
 `IncidenceStructure` instead, and after one year of deprecation
 `Hypergraph` will be an alias for `IncidenceStructure`.
 >
 > How could we do that without deprecation ?

 if you just put everything that we have in `Hypergraph` into
 `IncidenceStructure`, and then do
 {{{
    Hypergraph = IncidenceStructure
 }}}
 you only add more methods to `Hypergraph` and to `IncidenceStructure`.
 Nothing is removed. How can in break users' code? Why would one need to
 deprecate?

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