Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 705 Bytes

Programming Style.md

File metadata and controls

30 lines (21 loc) · 705 Bytes

Coding conventions for writing solidity code. Style is about consistency.

Consistency with style is important.

Consistency within a project is more important.

Consistency within one module or function is most important.

Two main categories:

  1. Layout
  2. Naming Conventions.

Programming style affects readability and maintainability, both of which affect security.


Slide Screenshot

097.jpg


Slide Deck

  • Coding Convention
  • Style -> Consistency
  • Consistency -> Function-Module-Project
  • Layout & Naming

References