Tagged articles
32 articles
Page 1 of 1
FunTester
FunTester
Apr 21, 2026 · Fundamentals

What Real-World Code Changes Teach About Low‑Level Design

The author recounts how maintaining and evolving a long‑lived production system exposed hidden costs of poor low‑level design, leading to a shift from pattern‑first thinking to change‑driven analysis, small incremental refactorings, and ultimately a calmer, more maintainable codebase.

Design PatternsSoftware Architecturecode maintainability
0 likes · 16 min read
What Real-World Code Changes Teach About Low‑Level Design
Selected Java Interview Questions
Selected Java Interview Questions
Mar 10, 2026 · Backend Development

Why Over‑Encapsulation Breaks Your Code and How to Fix It

The article explains how excessive, fake, or chaotic encapsulation creates hidden risks, reduces maintainability, and hampers extensibility, then provides concrete refactoring examples and practical principles to achieve clean, purposeful encapsulation in backend code.

Encapsulationbest practicescode maintainability
0 likes · 11 min read
Why Over‑Encapsulation Breaks Your Code and How to Fix It
php Courses
php Courses
Nov 25, 2025 · Backend Development

When to Use PHP Static Methods: Benefits, Drawbacks, and Best Practices

This article explains what PHP static methods are, shows how to declare them, and examines their advantages such as no instantiation and increased reusability, as well as their disadvantages including testing difficulty and maintainability concerns.

code maintainabilityobject‑oriented programmingstatic methods
0 likes · 4 min read
When to Use PHP Static Methods: Benefits, Drawbacks, and Best Practices
JavaScript
JavaScript
Aug 25, 2025 · Frontend Development

Switch Statements Break the Open/Closed Principle – Use Objects or Maps Instead

The article explains why traditional switch statements violate the Open/Closed principle in JavaScript, outlines the maintenance problems they cause in large front‑end codebases, and demonstrates how object literals or Map structures provide cleaner, more extensible alternatives.

MAPOpen/Closed Principlecode maintainability
0 likes · 5 min read
Switch Statements Break the Open/Closed Principle – Use Objects or Maps Instead
Liangxu Linux
Liangxu Linux
Mar 22, 2025 · Backend Development

Boost CPU Efficiency and Code Clarity with State‑Machine Programming

The article explains how using a state‑machine approach in embedded C programs can eliminate wasteful delay loops, ensure logical completeness, and produce clearer, more maintainable code by structuring work around events and states.

CPU efficiencyEmbedded Ccode maintainability
0 likes · 5 min read
Boost CPU Efficiency and Code Clarity with State‑Machine Programming
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.

Design PatternsFacade PatternSoftware Architecture
0 likes · 15 min read
Understanding the Facade Design Pattern and Its Application in Spring Boot
大转转FE
大转转FE
Dec 27, 2024 · Frontend Development

Boosting Front-End Code Maintainability: Metrics, Tools, and Best Practices

This article explores the concept of code maintainability, explains why it matters, defines key measurement metrics such as naming conventions, comment density, code volume, logical lines, cyclomatic complexity, similarity and redundancy, and provides practical improvement techniques and tool recommendations for modern front‑end projects.

best practicescode maintainabilitycode quality
0 likes · 50 min read
Boosting Front-End Code Maintainability: Metrics, Tools, and Best Practices
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 maintainabilityif-else
0 likes · 9 min read
Refactoring Spaghetti Code: Strategies for Complex if‑else Structures
21CTO
21CTO
Jun 2, 2024 · Fundamentals

Why Every Line of Code You Write Becomes Your Future Support Burden

The article shares hard‑earned lessons from a veteran software engineer about treating coding as a craft, avoiding the "Not‑Invented‑Here" syndrome, managing complexity, writing tests, and documenting well to reduce future maintenance pain and improve code quality.

NIH syndromebest practicescode maintainability
0 likes · 10 min read
Why Every Line of Code You Write Becomes Your Future Support Burden
Ops Development & AI Practice
Ops Development & AI Practice
Mar 26, 2024 · Fundamentals

Add Parameters or Create a New Function? Choosing the Right Refactor

When extending existing code, developers must decide between adding parameter‑based conditional logic or introducing a new function, weighing benefits such as code centralization against drawbacks like increased complexity, readability, and maintainability, while considering single‑responsibility, reuse, default parameters, overloads, and design patterns.

code maintainabilityfunction designparameter handling
0 likes · 4 min read
Add Parameters or Create a New Function? Choosing the Right Refactor
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.

Facadecode maintainabilitydesign-patterns
0 likes · 5 min read
Understanding the Facade Design Pattern in PHP with an Online Shopping Cart Example
21CTO
21CTO
Sep 18, 2023 · Fundamentals

How to Write Clean, Maintainable Code: 10 Essential Practices

This article explains what clean code is, why it matters for readability, collaboration and efficiency, and presents ten practical guidelines—including meaningful naming, concise functions, proper comments, consistent formatting, DRY, spacing, error handling, testing, refactoring, and version control—complete with JavaScript examples.

best practicesclean codecode maintainability
0 likes · 13 min read
How to Write Clean, Maintainable Code: 10 Essential Practices
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.

Software Engineeringcode maintainabilityextensibility
0 likes · 7 min read
Improving Code Maintainability: Readability, Testability, and Extensibility
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 23, 2022 · Fundamentals

Why Design Patterns Can Overcomplicate Software and How to Avoid Their Pitfalls

Design patterns, often hailed as software design standards, can lead to over‑engineering, increased complexity, and maintenance challenges in fast‑changing internet applications, but when applied judiciously and evolved with functional approaches, they also enhance code reuse, readability, and long‑term system growth.

Design PatternsSoftware Architecturecode maintainability
0 likes · 22 min read
Why Design Patterns Can Overcomplicate Software and How to Avoid Their Pitfalls
Open Source Linux
Open Source Linux
Nov 21, 2022 · Fundamentals

Master Core Programming Principles: KISS, DRY, YAGNI and More

This article compiles essential programming principles such as KISS, DRY, YAGNI, and others, explaining their origins, practical advice, and additional design guidelines to help developers write simpler, more maintainable, and less error‑prone code.

DRYKISSYAGNI
0 likes · 10 min read
Master Core Programming Principles: KISS, DRY, YAGNI and More
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.

DRYKISSSoftware Engineering
0 likes · 11 min read
Key Programming Principles: KISS, DRY, YAGNI and Other Guidelines
IT Architects Alliance
IT Architects Alliance
Aug 22, 2022 · Fundamentals

Mastering Core Programming Principles: KISS, DRY, YAGNI and More

This article compiles essential programming principles such as KISS, DRY, YAGNI, and Code for the Maintainer, explains their origins, practical applications, and concrete guidelines to help developers write simple, maintainable, and efficient code while avoiding unnecessary complexity.

DRYKISSSoftware Engineering
0 likes · 12 min read
Mastering Core Programming Principles: KISS, DRY, YAGNI and More
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Aug 18, 2021 · Frontend Development

How to Write Clean, Maintainable CSS: Principles and Practical Tips

This article explores why CSS often becomes messy, introduces aesthetic considerations, outlines three core writing principles—less is more, self‑explanatory, reusable—and provides concrete techniques such as naming conventions, formatting, commenting, modularization, and tooling to keep styles clean, readable, and maintainable across teams.

CSSbest practicescode maintainability
0 likes · 17 min read
How to Write Clean, Maintainable CSS: Principles and Practical Tips
Programmer DD
Programmer DD
Jan 27, 2021 · Backend Development

Why Service Layer Interfaces Matter: Boosting Maintainability and Testability

The article explains that while a Service layer may seem unnecessary for simple business logic, it becomes essential as applications grow, offering benefits such as handling complex operations, supporting reuse across controllers, facilitating unit testing, and enabling flexible business logic composition.

Backend ArchitectureService Layercode maintainability
0 likes · 3 min read
Why Service Layer Interfaces Matter: Boosting Maintainability and Testability
政采云技术
政采云技术
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 DesignVueabstraction
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.

Polymorphismcode 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.

BoilerplateJavaLombok
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.

JavaScriptTypeScriptcode maintainability
0 likes · 11 min read
Pros and Cons of TypeScript: A Comprehensive Overview
dbaplus Community
dbaplus Community
May 4, 2020 · Fundamentals

Why Design Patterns May Harm Your Projects More Than Help

The article argues that, despite the popularity of design patterns, blindly applying the 23 classic patterns rarely improves software quality and often leads to over‑engineered or fragile code, urging developers to critically assess their context, language features, and multi‑paradigm alternatives before using them.

Design PatternsSoftware ArchitectureSoftware Engineering
0 likes · 16 min read
Why Design Patterns May Harm Your Projects More Than Help
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 RefactoringError HandlingFrontend Architecture
0 likes · 14 min read
Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization
ITPUB
ITPUB
Feb 19, 2020 · Fundamentals

How to Write Code Nobody Can Maintain – A Satirical Guide

This tongue‑in‑cheek article enumerates a series of deliberately bad programming techniques—from confusing variable names and deceptive comments to over‑engineered designs and anti‑testing habits—showing how to make code virtually impossible to understand or maintain.

Software Engineeringbad practicescode maintainability
0 likes · 14 min read
How to Write Code Nobody Can Maintain – A Satirical Guide

Can Disposable Code Outperform Reusable Code? A Deep Dive into Maintainability

The article argues that treating lines of code as a cost rather than a product encourages writing disposable, loosely‑coupled software, and it walks through practical stages—from avoiding code entirely to using feature flags—to build systems that are easier to modify, replace, or discard.

code maintainabilitydisposable codefeature flags
0 likes · 20 min read
Can Disposable Code Outperform Reusable Code? A Deep Dive into Maintainability