Programming Concepts - kumavis/node-warrior GitHub Wiki

Specific Concepts in Programming

  • Variables:
    • Why they're important
    • How to make them
    • How they evaluate something and then don't re-evaluate it.(x = 1, y = x, x = 5, print y)
    • The details of how they're just referring to an address
    • Scope
    • How to change values
    • Mutable and immutable
  • Names that have predefined values vs. your own custom variables
  • Commenting! (not sure of implementation. function descriptions will be easier than other types of commenting as there are some pretty strict guidelines for those.)
  • Making Tests! (not sure of implementation.)
  • Understanding documentation!!
  • Loops:
    • Counting through a loop
    • Looping through an Array and how us doesn't do lists
    • While
    • For
  • If statements:
  • Getting random numbers:
  • Custom functions:
  • Passing values to functions (I’ve seen people confused about this):
  • Class/Objects/Dicts:
    • How js basically just has objects
    • How to declare those values
    • How to retrieve those values
  • Importing modules
  • Picking good modules!!!
  • Debugging:
    • Syntax errors
    • Conceptual errors (getting a handle on indexes, etc.)
    • Error messages
  • Do small parts at a time and test often