On this page
  1. State, Variables & Scope
  2. Contents
  3. Bindings vs. Storage Locations
  4. Mutability vs. Immutability
  5. Scope vs. Lifetime

State, Variables & Scope

Prev: Computational Thinking & Abstraction | Up: foundations | Next: Control Flow & Composition
Rel: Value vs. Reference Semantics, Call Stack & Heap
Ref: Wikipedia — Scope (Computer Science)
Tags: #public #prog #programming #foundations


Contents


Bindings vs. Storage Locations

Languages model variables in two primary ways:


Mutability vs. Immutability


Scope vs. Lifetime

Linked from

Related notes