Skip to content

wording clarifications#20

Open
anikaraghu wants to merge 2 commits into
mainfrom
anika/edits
Open

wording clarifications#20
anikaraghu wants to merge 2 commits into
mainfrom
anika/edits

Conversation

@anikaraghu

Copy link
Copy Markdown
Contributor

Mostly nits I noticed while reading through that can help make it easier to read

Comment thread README.md Outdated
#### 3. Events

##### A. Events names should be past tense.
#### 3. Events names should be past tense.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we were getting to have too many levels which made it hard to follow

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we could also instead link some sections out to different READMEs as an alternative

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

imo grouping is helpful and separate readmes would require more work, but we have talked about making a doc site. Agree we are pushing a single thing to the limit

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hmm I guess it's a bit confusing that some are grouped and some aren't. Should we group all then?

Comment thread README.md
or
If a function should never be called from another contract, it should be marked private and its name should have a leading underscore.

#### Justification

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We don't have Justification elsewhere where we explain reasoning, so I am hesitant to mix up the format. (I used to have something like this but removed for consistency)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think exceptions should require justification. This is the only exception we've listed so I would expect future ones to have justification as well, but might not be present right now

Comment thread README.md Outdated
```

Note, we cannot remedy this by insisting on the use public functions. Whether a library functions are internal or external has important implications. From the [Solidity documentation](https://docs.soliditylang.org/en/latest/contracts.html#libraries)
We could remedy this by insisting on the use public functions. However, developers may prefer internal functions because they are more gas efficient to call, due to how libraries are compiled in Solidity:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

imo is confusing to say "we could" remedy. Maybe like "We should not remedy this by ..."

@wilsoncusack wilsoncusack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this! There's significant formatting changes mixed in with wording changes here that makes this hard to get in together.

@anikaraghu anikaraghu force-pushed the anika/edits branch 2 times, most recently from 957bcb9 to f77a08b Compare May 2, 2024 15:02
xenoliss
xenoliss previously approved these changes May 8, 2024
@cb-heimdall

cb-heimdall commented May 8, 2024

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@anikaraghu anikaraghu force-pushed the anika/edits branch 3 times, most recently from ec2ed93 to 0b8a579 Compare May 14, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants