Instructional Video

Incrementing shortcuts, Computer Programming

Curated and Reviewed by Lesson Planet

Text messages full of abbreviations can be easier to understand once you know what the letters stand for. The same goes for reading code because computer programmers always devise ways to reduce typing. One typical line of code that frequently gets abbreviated follows the pattern of statements such as x = x + 1 or y = y * 6. This video shows how these lines of code can be simplified using operators such as += and *= in JavaScript. Your young coders will feel right at home in this world of shortcuts.

3 Views 1 Download
Classroom Considerations
  • This video is hosted on YouTube
Pros
  • Simple introduction to using different functions to add color to lines, objects, and backgrounds
  • Clear explanation
Cons
  • None