Skip to content

Multiaddr interface feels weird to work with #32

@keks

Description

@keks

On IRC I mentioned that I would expect Push() and Pop() methods, and the idea came up to improve the general UX of the library.

22:34 < keks> is there a reason multiaddr doesn't have push() and pop()? push kind of is 
              Encapsulate, but decapsulate seems to be pop() except that it does the 
              opposite
22:34 < keks> you have to specify the ending and it gives you the beginning. aren't you 
              usually interested in the top of the protocol stack?
22:36 <@jbenet> keks: yeah, the multiaddr util funcs could be expanded.
22:52 <@whyrusleeping> keks: yeah... the multiaddr interface does feel a bit weird
22:53 <@whyrusleeping> should probably open an issue about improving the UX on that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions