Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scx1332/trying to run2 #31

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Scx1332/trying to run2 #31

wants to merge 19 commits into from

Conversation

scx1332
Copy link
Contributor

@scx1332 scx1332 commented Aug 25, 2022

No description provided.

@@ -72,3 +72,18 @@ impl Display for Addresses {
write!(f, "]")
}
}

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.

2 participants