Get in Touch

Course Outline

Day 1

Introduction

Effective and standardized naming conventions

Names for packages, files, classes, methods, functions, and variables must be meaningful and clearly reflect their purpose.

Names should be readable.

Names should be easy to search.

Consider the namespace being created; does it make logical sense?

Classes, objects, and data structures

Distinguish between objects that perform actions and structures that merely hold data.

Understand when and why to use data structures.

Understand when and why to use objects.

Explore OOD (Object-Oriented Design) and abstraction.

The importance of getters and setters.

Prefer many small classes, each containing numerous small methods and functions.

Effective commenting

Recognize the difference between helpful and unhelpful comments.

Learn how to write valuable comments and disregard the rest.

Day 2

Functions

Focus on doing one thing.

Keep functions small.

Evaluate arguments (both effective and ineffective).

Avoid unintended side effects.

Error handling

Determine when to handle errors directly and when to allow them to propagate.

If an exception is caught, understand what actions to take and why.

Utilize custom error handling classes.

Code formatting: Techniques for improving code readability and structure.

Test-Driven Design: An open discussion of Uncle Bob's perspective that programs should adhere to TDD principles.

Requirements

No specific prerequisites are required to attend this course.

 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories