Programming Principles/Practices -------------------------------- - Use meaningful names - Spaces have meaning - Don't use spaces in your names - Planning - Implementation - Version Control - Count starting at 0 instead of 1 - Read/understand - Testing - Make small changes and test - Indent to show structure (specially nesting) - Write readable code - Documentation - Break lines at 80 characters - Be consistent - Syntax vs. Semantics - Web Inspector - Write the comment before the code - Don't plan too far ahead - Fix one bug at a time - Debugging - Be lazy (with typing) - Refactoring - DRY Principle - Avoid Magic Numbers - Read Inside-Out Programming Tools ----------------- - Notes * Notebook * Text Editor * Line numbers - Code - Computer - Runtime Environment * Web Browser - Google (on your favorite search engine) * W3Schools * StackOverflow - Vocabulary - Web Inspector - Error Console - Interpreter Programming Language Concepts ----------------------------- - Comments - Functions * Calling a Function * Input * Output * Define - Variables * Scope - Local - Global - Operators - Strings - Regular Expression