Syntax, Variables, Objects, and Classes


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
What do syntax, variables, objects, and classes have to do with clean code? Find out, as this course, walks you through some clean code myths and facts. Discover how code comments can help you to be understood! Learn the fine points of indentation, white space, and naming conventions. Learn about variables and naming conventions. Pick a case style for your variables and constants: camel, Pascal, or snake. Discover global and local variables, explicit naming, deep nesting, return statements, classes and objects, encapsulation, and public, private, and protected members. Also learn about inheritance and fluency.

Target Audience
Software developers who wish to learn and implement clean coding techniques

Prerequisites
None

Expected Duration (hours)
0.6

Lesson Objectives

Syntax, Variables, Objects, and Classes

  • start the course
  • describe how syntax, regardless of language, should be honored and respected
  • define the purpose of commenting and why it's important in clean coding
  • specify the purpose of indentation and why it's important in clean coding
  • describe the purpose of white space and why it's important in clean coding
  • define the purpose of using proper naming conventions in clean coding
  • use camel case and pascal case and state why it's important to choose the right case in clean coding
  • use snake case and describe why it's important to choose the right case in clean coding
  • define the purpose of variables and how they relate to clean coding
  • describe variable naming and how it may be used in clean coding
  • define the difference between local and global variables and how they may be used in clean coding
  • describe explicit naming and how it may be implemented in clean coding
  • describe deep nesting and why it may be avoided in clean coding
  • describe return statements and why it's important to consider their use in clean coding
  • define classes and objects and how they may be implemented in clean coding
  • specify encapsulation and how it may be implemented in clean coding
  • define whether public, private, or protected members may be implemented in clean coding
  • describe inheritance and how it may be implemented in clean coding
  • discuss fluency and what it represents in clean coding
  • describe clean coding techniques for variables, objects, and classes
  • Course Number:
    sd_clco_a04_it_enus

    Expertise Level
    Beginner