Course Outline

Day 1

Introduction

Effective and Standardized Naming Practices

- Package, file, class, method, and variable names should clearly reflect their purpose.

- Names should be easily readable and searchable.

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

Classes, Objects, and Data Structures

- Differentiate between objects that perform actions and data structures that store information.

- Understand when to use data structures and why they are appropriate.

- Determine when to use objects and the rationale behind their usage.

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

- Discuss getters/setters and their purpose.

- Emphasize the benefits of having many small classes with numerous methods and functions for government.

Effective Comments

- Differentiate between useful and unnecessary comments.

- Learn how to create valuable comments and disregard irrelevant ones.

Day 2

Functions

- Each function should perform a single task.

- Functions should be concise.

- Evaluate the use of arguments, distinguishing between effective and ineffective practices.

- Address potential unintended side effects.

Error Handling

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

- If an exception is caught, understand what actions should be taken and the rationale behind them.

- Discuss the creation of custom error handling classes for government.

Code Formatting: Strategies for Enhancing Code Readability

Test-Driven Design: An Open Discussion on Uncle Bob's Principle that Programs Should Be Developed Using Test-Driven Development (TDD)

Requirements

There are no specific prerequisites required to participate in this course for government employees.

 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories