Skip to content

Conversation

@scx1332
Copy link
Member

@scx1332 scx1332 commented Aug 25, 2022

No description provided.

}

impl Addresses {
pub fn gather_and_sort_addresses(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a very bad coding style.

  1. Why associated function?
    addr::Addresss:: gather_and_sort_addresses(...) looks better than simple addr::gather_and_sort_addresses.

  2. Why this is a public API for address?

this is a very specific name gather and sort. it does not look like something general to be done on adresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants