Skip to content

wgeorge1990/rust_common_programming_concepts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Common Programming Concepts

  1. variables and mutability
    • variable shadowing
    • mutability
    • data types
    • tuples
    • arrays
  2. functions
    • functions
  3. branches
    • control flow
    • functions as statements
    • variable assignment from fn statemnts
    • consistent types in if blocks
  4. loops
    • loop
    • while
    • for
    • for with range
    • TODO: exercises pg.58
  5. ownership
    • "Ownership is Rust’s most unique feature, and it enables Rust to make memory safety guarantees without needing a garbage collector."
      • Klabnik, Steve; Nichols, Carol. The Rust Programming Language (Covers Rust 2018) (p. 59). No Starch Press. Kindle Edition.
    • Concepts:
      1. borrowing
      2. slices
      3. how rust lays out data in memory

About

rust common programming concepts in specific submodules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published