Engineering Mindset for Early-Career Developers by Moyinoluwalogo O. Mayowa - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Chapter 4 — Writing Code That Lasts ............................................................................... 39

Introduction .......................................................................................................... 39

The Importance of Maintainable Code ............................................................................... 39

Readability: The Foundation of Long-Lasting Code .......................................................... 40

Use Meaningful Names ........................................................................................ 40

Keep Functions Focused ..................................................................................... 41

Maintain Consistent Formatting ........................................................................... 41

Simplicity Over Cleverness ................................................................................................ 41

Modular Design .................................................................................................................. 41

Avoiding Code Duplication ................................................................................................. 42

Writing Self-Documenting Code ........................................................................................ 42

When to Use Comments .................................................................................................... 43

Writing Testable Code ........................................................................................................ 43

Defensive Programming ..................................................................................................... 43

Refactoring: Improving Existing Code ............................................................................... 44

Managing Technical Debt .................................................................................................. 44

Code Reviews and Collaboration ....................................................................................... 44

Designing Code for Change ............................................................................................... 45

Learning From Experienced Engineers .............................................................................. 45

Building Good Coding Habits ............................................................................................ 46

The Long-Term Impact of Good Code ............................................................................... 46

Find Your Next Great Read

Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.

Showing results for ""

Popular searches:

Romance Mystery & Thriller Self-Help Sci-Fi Business