Tag

code maintainability

0 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 27, 2025 · Fundamentals

Understanding the Facade Design Pattern and Its Application in Spring Boot

This article explains the Facade design pattern, illustrating its purpose of simplifying complex systems with real‑world analogies, detailing its benefits, showing UML class diagram relationships, and providing a comprehensive Spring Boot example that encapsulates flight, hotel, and package services behind a BookingFacade, while also including promotional content for IDE licenses.

Facade PatternSpring Bootcode maintainability
0 likes · 15 min read
Understanding the Facade Design Pattern and Its Application in Spring Boot
Sohu Tech Products
Sohu Tech Products
Jul 17, 2024 · Fundamentals

Refactoring Spaghetti Code: Strategies for Complex if‑else Structures

The article explains how deeply nested if‑else statements create spaghetti code and proposes three refactoring techniques—function extraction, lookup‑table mapping, and the responsibility‑chain pattern—to replace complex conditional trees with modular, readable structures that dramatically lower control‑flow complexity.

JavaScriptcode maintainabilitydesign patterns
0 likes · 9 min read
Refactoring Spaghetti Code: Strategies for Complex if‑else Structures
php中文网 Courses
php中文网 Courses
Jan 11, 2024 · Backend Development

Advantages and Disadvantages of Static Methods in PHP

Static methods in PHP allow functions to be called directly via the class without instantiation, offering benefits such as simplicity, resource savings, and reusability, but they also introduce drawbacks like testing difficulty, reduced maintainability, and limited extensibility, requiring careful consideration before use.

Backend DevelopmentPHPcode maintainability
0 likes · 4 min read
Advantages and Disadvantages of Static Methods in PHP
php中文网 Courses
php中文网 Courses
Nov 14, 2023 · Backend Development

Understanding the Facade Design Pattern in PHP with an Online Shopping Cart Example

This article explains the Facade design pattern, its benefits such as simplifying complexity, encapsulating subsystems, and improving maintainability, and demonstrates its practical use in PHP by building an online shopping cart with clear code examples and a step‑by‑step implementation.

PHPbackendcode maintainability
0 likes · 5 min read
Understanding the Facade Design Pattern in PHP with an Online Shopping Cart Example
FunTester
FunTester
Jul 5, 2023 · Fundamentals

Improving Code Maintainability: Readability, Testability, and Extensibility

The article discusses how clear naming, structured organization, thorough documentation, robust testing, effective logging, observability, and modular design together enhance code readability, testability, and extensibility, ultimately leading to more maintainable software projects.

code maintainabilityextensibilityreadability
0 likes · 7 min read
Improving Code Maintainability: Readability, Testability, and Extensibility
Top Architect
Top Architect
May 10, 2023 · Fundamentals

How to Write Unmaintainable Code: A Satirical Guide to Bad Programming Practices

This tongue‑in‑cheek article lists a series of deliberately harmful coding techniques—from confusing variable names and deceptive documentation to over‑engineered designs and absent testing—illustrating how to make software virtually impossible to maintain.

Javabad coding practicescode maintainability
0 likes · 14 min read
How to Write Unmaintainable Code: A Satirical Guide to Bad Programming Practices
Top Architect
Top Architect
Sep 26, 2022 · Fundamentals

Key Programming Principles: KISS, DRY, YAGNI and Other Guidelines

This article explains essential software design principles such as KISS, DRY, YAGNI, and additional guidelines for writing maintainable, simple code, while also warning against over‑engineering and emphasizing the importance of testing, clear communication, and minimal coupling in everyday programming practice.

DRYKISSYAGNI
0 likes · 11 min read
Key Programming Principles: KISS, DRY, YAGNI and Other Guidelines
Top Architect
Top Architect
Aug 24, 2022 · Fundamentals

Key Programming Principles: KISS, DRY, YAGNI, and Code for the Maintainer

This article outlines essential programming principles—including KISS, DRY, YAGNI, and Code for the Maintainer—explaining their origins, practical applications, and how they help developers write simpler, more maintainable, and less error‑prone software.

DRYKISSYAGNI
0 likes · 11 min read
Key Programming Principles: KISS, DRY, YAGNI, and Code for the Maintainer
政采云技术
政采云技术
Dec 1, 2020 · Frontend Development

Writing High-Quality Maintainable Code: Component Abstraction and Granularity

This article explains how to write high-quality, maintainable frontend code by exploring component abstraction, granularity, design principles, and classification—from atomic to page-level components—illustrated with React and Vue examples, code snippets, and practical guidelines for balancing reuse and complexity.

Component DesignGranularityVue
0 likes · 15 min read
Writing High-Quality Maintainable Code: Component Abstraction and Granularity
macrozheng
macrozheng
Nov 27, 2020 · Fundamentals

How to Refactor Excessive if‑else Statements for Cleaner Code

Excessive if‑else statements can make code hard to maintain, but by distinguishing exception handling from state handling and applying techniques such as condition merging, early exits, removing temporary variables, and leveraging polymorphism, developers can refactor code to be clearer, shorter, and more robust.

Exception Handlingcode maintainabilityif-else
0 likes · 12 min read
How to Refactor Excessive if‑else Statements for Cleaner Code
Architecture Digest
Architecture Digest
Jun 25, 2020 · Backend Development

The Hidden Pitfalls of Using Project Lombok in Java Development

After a year of using Project Lombok, the author reflects on how the library initially reduces boilerplate but ultimately introduces version incompatibilities, forced dependencies, reduced readability, tighter coupling, and technical debt, urging developers to weigh its benefits against long‑term maintenance risks.

AnnotationsBoilerplateJava
0 likes · 10 min read
The Hidden Pitfalls of Using Project Lombok in Java Development
Huajiao Technology
Huajiao Technology
May 18, 2020 · Frontend Development

Pros and Cons of TypeScript: A Comprehensive Overview

This article examines TypeScript—a Microsoft‑backed JavaScript superset—detailing its static‑typing benefits, improved readability, bug reduction, and active ecosystem while also discussing learning costs, slower development speed, library compatibility issues, and the necessity of compilation, helping developers decide whether to adopt it.

Frontend DevelopmentJavaScriptcode maintainability
0 likes · 11 min read
Pros and Cons of TypeScript: A Comprehensive Overview
Continuous Delivery 2.0
Continuous Delivery 2.0
May 16, 2020 · Fundamentals

Testing Behavior, Not Methods: Ensuring Clear Cause and Effect in Unit Tests

The article explains why unit tests should focus on verifying distinct behaviors rather than mirroring methods, advocating separate, focused tests that make cause‑and‑effect relationships obvious and improve code readability and maintainability.

behavioral testingcode maintainabilitysoftware testing
0 likes · 4 min read
Testing Behavior, Not Methods: Ensuring Clear Cause and Effect in Unit Tests
360 Tech Engineering
360 Tech Engineering
Mar 16, 2020 · Frontend Development

Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization

This article walks through three progressive refactoring stages for Vuex‑based API calls—first separating concerns for maintainable code, then introducing a concise “olive‑shaped” interface with dynamic generation or proxy interception, and finally adding response normalization and three‑level error handling to produce robust, low‑maintenance frontend logic.

API RefactoringVuexcode maintainability
0 likes · 14 min read
Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization
UC Tech Team
UC Tech Team
Nov 26, 2018 · Frontend Development

Static Typing in JavaScript: Why TypeScript Improves Large‑Scale Frontend Development

The article discusses how type mismatches cause runtime errors in JavaScript projects, explains why static typing with TypeScript can catch these issues at compile time, and argues that rigorous type declarations are essential for building and maintaining large‑scale frontend applications.

JavaScriptType Safetycode maintainability
0 likes · 6 min read
Static Typing in JavaScript: Why TypeScript Improves Large‑Scale Frontend Development