diff --git a/src/smart-contracts/concepts/valid-code.md b/src/smart-contracts/concepts/valid-code.md index 7840222..dfcbdac 100644 --- a/src/smart-contracts/concepts/valid-code.md +++ b/src/smart-contracts/concepts/valid-code.md @@ -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. diff --git a/src/smart-contracts/index.md b/src/smart-contracts/index.md index ff01bc0..4caaa5c 100644 --- a/src/smart-contracts/index.md +++ b/src/smart-contracts/index.md @@ -20,7 +20,6 @@ Contracting simplifies the process of creating, testing, and deploying smart con ### New to Coding ? If you're new to writing code with Python, and you want to learn the basics before going further, here are some great guides to get you started : -Official documentation 1. [Official documentation](https://docs.python.org/3.11/) 2. [Python Cheat Sheet](https://www.pythoncheatsheet.org) 3. [Sentdex YouTube videos](https://www.youtube.com/user/sentdex)