Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Rust Extension Pages - Basics #146

Merged
merged 17 commits into from
Oct 12, 2023
Merged

Conversation

CrackTheCode016
Copy link
Contributor

@CrackTheCode016 CrackTheCode016 commented Oct 6, 2023

The following are proposed extension pages for capturing Rust in a Substrate context. These are created with assumed knowledge of Rust. The following topics are covered:

  • Alternative Data Types
  • Useful Traits - Common Substrate Traits
  • Casting & Type Conversion
  • Using Substrate Arithmetic for Safe Math

This is now divided into two main sections: Rust Basics and Rust Basics Extended. This is not definitive. It's simply a way to make it easier to read for now.

This PR also opens the floor to what I was thinking about structuring these pages, not just text, but somewhat interactive pieces of content. See issue: #111

  • Include a notion of "quizzes", not checked in this case, but at least some sort of knowledge check as someone is reading.
  • "Mini" summarizations of what is being discussed, especially when introducing Substrate into Rust like this
  • Runnable code would be awesome. I'm considering using replit for that, aka solving [Infra Refactor] Code Related Component #142

@CrackTheCode016 CrackTheCode016 added the A1 - In Progress Pull Request needs to be updated. label Oct 6, 2023
@CrackTheCode016
Copy link
Contributor Author

@DrW3RK This is turning into quite a long page - could you please take a look, and maybe I split this into separate PRs (and make sure it reads well)?

docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
docs/Rust/section2/alt-data-types.md Outdated Show resolved Hide resolved
CrackTheCode016 and others added 11 commits October 12, 2023 09:39
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
@CrackTheCode016 CrackTheCode016 merged commit ba9449f into main Oct 12, 2023
3 checks passed
@CrackTheCode016 CrackTheCode016 deleted the module-1-extension-pages branch October 12, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1 - In Progress Pull Request needs to be updated.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants