Skip to content

Commit

Permalink
Change it's to its
Browse files Browse the repository at this point in the history
  • Loading branch information
Endogen authored Jun 15, 2024
1 parent f4cb0bc commit 898d203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smart-contracts/concepts/valid-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Valid Code

## No Classes Allowed!
Contracting maintains a strict 'no classes' model. This forces you as the developer to create more procedural code that is explicit and completely self-contained. Contracts must be easy to read and understand for validity. Instead of thinking of your code in classes, think of each contract as a 'module' that exposes certain functions to it's users.
Contracting maintains a strict 'no classes' model. This forces you as the developer to create more procedural code that is explicit and completely self-contained. Contracts must be easy to read and understand for validity. Instead of thinking of your code in classes, think of each contract as a 'module' that exposes certain functions to its users.

All `class` keywords will fail your contract on submission. Even if you try to use classes for object oriented code, you will have to find another way to express your structures.

Expand Down

0 comments on commit 898d203

Please sign in to comment.