Common Programming Concepts

This chapter covers Rust’s implementation of core programming concepts: variables, types, functions, comments, and control flow. While these concepts exist in most languages, Rust’s approach has specific characteristics around ownership, memory safety, and type strictness.

Keywords

Rust reserves specific keywords that cannot be used as identifiers. See Appendix A for the complete list.