Get in Touch

Course Outline

Day 1

Introduction

Effective and standardized naming conventions

- Package, file, class, variable, and function names must be meaningful and clearly reflect their intended purpose.

- Names should be easy to read.

- Names should facilitate efficient searching.

- Consider the namespace context; ensure it logically aligns with the code's function.

Classes, Objects, and Data Structures

- Distinguish between objects that perform actions and structures that merely store data.

- Understand when to utilize data structures and the rationale behind it.

- Understand when to utilize objects and the rationale behind it.

- Explore Object-Oriented Design (OOD) and abstraction principles.

- The purpose and importance of getters and setters.

- It is advantageous to structure code with many small classes, each containing focused methods and functions.

Effective Comments

- There are constructive and unhelpful comments.

- Learn how to write valuable comments while avoiding unnecessary ones.

Day 2

Functions

- Adhere to the Single Responsibility Principle.

- Keep functions concise.

- Evaluate the pros and cons of function arguments.

- Identify and avoid unintended side effects.

Error Handling

- Determine when to handle errors locally versus allowing them to propagate.

- If an exception is caught, understand the appropriate response and its justification.

- Utilize custom error handling classes.

Code Formatting: Techniques to improve code presentation and consistency.

Test-Driven Design: An open discussion on Robert C. Martin's (Uncle Bob) philosophy advocating for Test-Driven Development (TDD) in program design.

Requirements

No specific prerequisites are required to enroll in this course.

 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories