Menu
Web · 01 Topic · 2 steps

Programming basics

“Core ideas every programmer uses daily.”

Start reading →
Byte card for Programming basics: A variable is a name that points to a value. Prefer const. A value's type decides what you can do with it. Scope: a variable only exists inside the block where it's declared. A function takes inputs, does work and returns a result. Pure functions: same input, same output, no side effects. Easy to test.

Byte card

The whole topic on one card

  1. A variable is a name that points to a value. Prefer const.
  2. A value's type decides what you can do with it.
  3. Scope: a variable only exists inside the block where it's declared.
  4. A function takes inputs, does work and returns a result.
  5. Pure functions: same input, same output, no side effects. Easy to test.

Save it as a cheat sheet, or share it with someone who's learning this too.

Search posts and bytes

Optional account

Keep your progress everywhere

Everything on AminBytes is free to read, with or without an account. Sign in only if you want your commits, streak and merged topics saved, on every device.

or

We keep only your name, avatar and which bytes you finished, and you can delete it all anytime. Privacy