Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 2.05 KB

assignment.md

File metadata and controls

36 lines (25 loc) · 2.05 KB

Assignment

The Concept

An assignment statement sets and/or re-sets the value stored in the storage location(s) denoted by a variable name; in other words, it copies a value into the variable. In most imperative programming languages, the assignment statement (or expression) is a fundamental construct.

What to cover

  • How to assign values How to assign a value to a variable.
  • How to update a value How to update a variable's value.

Exercises

Lasagna cooking

This exercise deals with cooking a lasagna dish in the oven. The reference implementation (C#) teaches:

  • How to assign a value to a variable.
  • How to update a variable's value.

Implementations

Track Exercise Changes
C# lucians-luscious-lasagna None
Elixir basics Introduces binding values rather than assignment
JavaScript basics There is no updating of a variable
F# lucians-luscious-lasagna There is no updating of a variable
Ruby basics