Skip to content

Conversation

@AndreiMVP
Copy link

Added a couple of new points:

  • Don't use separate functions/inheritance unless you have to
  • Be conservative with the code you write
  • When transferring ETH, send is usually better than call

@AndreiMVP AndreiMVP requested a review from clesaege June 4, 2022 17:54
@jaybuidl
Copy link
Member

jaybuidl commented Jun 6, 2022

Also add a mention against using Solidity custom errors.

Otherwise LGTM.

@AndreiMVP AndreiMVP changed the title Update Solidity good practices added "e.g. custom errors" Jun 7, 2022
@AndreiMVP AndreiMVP changed the title added "e.g. custom errors" Update Solidity good practices Jun 7, 2022
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