[Lemon-devel] Renaming basic classes
Hegyi Peter
hegyi at tmit.bme.hu
Tue Sep 4 19:12:27 CEST 2007
Hi All,
according to my opinion the suggested changes are acceptable, they make
simpler getting familiar with LEMON.
However I think that although these changes are well-explainable, we
loose users by making not very-very important name-changes constantly.
It is important to follow naming-conventions, but we cannot force users
to constantly rewrite their working programs only for the sake of more
perfect naming conventions.
I think that name-changes should be done only in the case when the
already existing names would be abuser furthermore (e.g. a new
function/structure is added that rather deserves the already existing name)
I think that if we vote on changing names, we should name our methods
and structures as similar to "concurrents" name-usage as possible. This
would make simpler to start using our library after using a nother one.
Best regards,
Peter
Balazs Dezso írta:
> Hi Developers
>
> The idea of renaming the main graph classes and items is quite urgent
> question. The UEdge and BpUGraph names are involved and on some points the
> naming conventions are not complete.
>
> After some discussions, we suggest the next rename mappings:
> Graph => Digraph
> UGraph => Graph
> BpUGraph => Bigraph
>
> Edge => Arc
> UEdge => Edge
>
> uEdge...() => edge...()
> aNode...() => anode...()
> bNode...() => bnode...()
>
> The source() and target() functions could be changed in the undirected graphs
> to first() and second(), or anode() and bnode(). This second variant is very
> close to the Bigraph interface, but there is not concrete meaning of the
> order of the nodes.
>
> In my point of view the graph structures are quite stable but some solutions
> should be revised. The extenders make the compile errors and warnings
> unreadable but we do not have better solution. The handling of anodes and
> bnodes also should be revised.
>
> Please comment this suggestions, if you agree with this proposals or if you
> have some improvements or other opinion.
>
> Best regards, Balazs
> _______________________________________________
> Lemon-devel mailing list
> Lemon-devel at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-devel
>
More information about the Lemon-devel
mailing list