Tag

code quality

0 views collected around this technical thread.

Continuous Delivery 2.0
Continuous Delivery 2.0
Jun 12, 2025 · Backend Development

Why Over‑Engineering and Bad Code Kill Your Project—and How to Fix It

This article reveals how common bad coding practices such as over‑engineering, hidden business logic in utility classes, deep inheritance trees, excessive DTO layers, unnecessary interfaces, and contract‑less microservices degrade team efficiency and project quality, and offers concrete, principle‑driven remedies.

Backend DevelopmentJavaanti-patterns
0 likes · 8 min read
Why Over‑Engineering and Bad Code Kill Your Project—and How to Fix It
php中文网 Courses
php中文网 Courses
Jun 10, 2025 · Backend Development

How to Automate Architecture Testing in PHP Projects for Cleaner Code

This article explains what architecture testing is, why PHP projects need it, introduces tools like Deptrac, PHPArch and PHPMD, shows common testing scenarios, and provides best practices for integrating automated architecture tests into CI/CD pipelines to improve code quality and maintainability.

Backend DevelopmentCI/CDPHP
0 likes · 6 min read
How to Automate Architecture Testing in PHP Projects for Cleaner Code
Java Tech Enthusiast
Java Tech Enthusiast
May 26, 2025 · Fundamentals

Push Ifs Up, Push Fors Down: Improving Code Clarity and Performance

The article explains Alex Kladov’s two simple yet powerful rules—moving conditional checks out of functions and pushing loop bodies down—to reduce duplicated checks, simplify control flow, and boost performance, especially in batch‑processing scenarios.

Best PracticesPerformancecode quality
0 likes · 7 min read
Push Ifs Up, Push Fors Down: Improving Code Clarity and Performance
Code Mala Tang
Code Mala Tang
May 26, 2025 · Fundamentals

10 Common Python Anti‑Patterns and How to Avoid Them

This article examines ten frequent Python anti‑patterns—such as mutable default arguments, catching broad exceptions, overly long functions, reinventing the wheel, misusing list comprehensions, excessive lambdas, hard‑coded values, ignoring virtual environments, overusing inheritance, and neglecting code formatting—explaining why they harm readability, maintainability or performance and offering clear, better‑practice alternatives.

Best PracticesPythonanti-patterns
0 likes · 8 min read
10 Common Python Anti‑Patterns and How to Avoid Them
php中文网 Courses
php中文网 Courses
May 19, 2025 · Backend Development

PHPStan Overview: What It Is, Why Use It, Installation, Configuration, and Advanced Tips

This article introduces PHPStan, a popular PHP static analysis tool, explains its benefits, provides step‑by‑step installation and configuration instructions, demonstrates how to run analyses, interpret error reports, troubleshoot common issues, and explore advanced techniques for improving backend code quality.

BackendPHPStatic Analysis
0 likes · 4 min read
PHPStan Overview: What It Is, Why Use It, Installation, Configuration, and Advanced Tips
Continuous Delivery 2.0
Continuous Delivery 2.0
May 13, 2025 · Backend Development

Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices

The article outlines common backend code smells such as over‑engineering, deep inheritance hierarchies, excessive DTO/VO layers, unnecessary interfaces, and contract‑less microservice designs, explains why they harm team efficiency and project quality, and provides concrete Java examples and best‑practice recommendations to avoid them.

DTOJavacode quality
0 likes · 5 min read
Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices
macrozheng
macrozheng
May 9, 2025 · Backend Development

12 Coding Anti‑Patterns That Sabotage Your Microservice Projects (And How to Avoid Them)

This article lists twelve common coding anti‑patterns—such as over‑splitting services, excessive method length, misleading comments, and ignoring logging—that dramatically reduce code readability and maintainability, illustrated with a fictional developer’s missteps and practical lessons for better software engineering.

Backend Developmentanti-patternscode quality
0 likes · 11 min read
12 Coding Anti‑Patterns That Sabotage Your Microservice Projects (And How to Avoid Them)
php中文网 Courses
php中文网 Courses
May 9, 2025 · Fundamentals

Standard Python Project Structure and Code Style Guidelines (PEP 8)

This article explains how to organize a Python project with a conventional directory layout, follow PEP 8 naming and formatting rules, and use automated tools such as Flake8, Black, and isort to enforce code quality and streamline collaboration.

Project StructurePythoncode quality
0 likes · 6 min read
Standard Python Project Structure and Code Style Guidelines (PEP 8)
Continuous Delivery 2.0
Continuous Delivery 2.0
May 8, 2025 · Fundamentals

Deep Analysis of Code Health: Standards, Efficiency Impact, Readability, and Practical Practices

This article, based on Dave Farley's video, defines bad code by two fundamental criteria, explains how high‑quality code boosts development speed by 44% according to DORA research, explores deep aspects of readability, and offers concrete practices such as TDD, modular design, clear naming, and complexity control.

Test-Driven Developmentcode qualitymaintainability
0 likes · 4 min read
Deep Analysis of Code Health: Standards, Efficiency Impact, Readability, and Practical Practices
Continuous Delivery 2.0
Continuous Delivery 2.0
May 7, 2025 · Fundamentals

Understanding Code Smells: Module, Function, and Implementation Level Issues

This article explains how Tencent evaluates code quality at module, function, and implementation levels, describing common code smells such as low cohesion, God classes, developer congestion, God functions, DRY violations, nested complexity, and Bumpy Road, and emphasizes the importance of identifying and fixing these issues to improve maintainability and team efficiency.

Best Practicescode qualitycode smells
0 likes · 5 min read
Understanding Code Smells: Module, Function, and Implementation Level Issues
Java Architect Essentials
Java Architect Essentials
Apr 17, 2025 · Fundamentals

A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint

This article introduces several Java code quality tools—including Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint—detailing their installation, usage, and key features to help developers improve code standards, detect bugs, and streamline code review processes.

FindBugsIDE pluginsJava
0 likes · 13 min read
A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint
Code Mala Tang
Code Mala Tang
Apr 14, 2025 · Fundamentals

How to Write High‑Quality Python Code: 5 Practical Improvements

This article explains what makes code high‑quality—functionality, readability, maintainability, efficiency, and documentation—and demonstrates five concrete Python improvements, from type‑annotated inputs to clear naming, robust error handling, comprehensive docstrings, and performance‑boosting caching.

Best PracticesError HandlingPython
0 likes · 7 min read
How to Write High‑Quality Python Code: 5 Practical Improvements
macrozheng
macrozheng
Apr 14, 2025 · Backend Development

Lombok: Shortcut or Technical Debt? Lessons from a Year of Using Java Boilerplate Reduction

After a year of using Project Lombok, the author reflects on its initial appeal for reducing Java boilerplate, then reveals how hidden technical debt, version incompatibilities, reduced readability, and increased coupling can outweigh its benefits, urging teams to weigh its adoption carefully.

BoilerplateLombokcode quality
0 likes · 13 min read
Lombok: Shortcut or Technical Debt? Lessons from a Year of Using Java Boilerplate Reduction
Sohu Tech Products
Sohu Tech Products
Apr 2, 2025 · Mobile Development

Static Code Analysis Tools for iOS Development – Comparison, Pros, Cons, and Usage

The article reviews open‑source static analysis options for iOS, then compares SonarQube, Infer, and Clang Static Analyzer, outlining each tool’s language support, advantages, drawbacks, CI/CD integration, and practical usage to help teams choose the best solution based on project size, language mix, and reporting needs.

CI/CDClang AnalyzerSonarQube
0 likes · 27 min read
Static Code Analysis Tools for iOS Development – Comparison, Pros, Cons, and Usage
macrozheng
macrozheng
Mar 28, 2025 · Backend Development

Boost Java Code Quality: Alibaba Guidelines, CheckStyle, PMD, FindBugs & SonarLint

Learn how to enhance Java code quality and reduce review effort by using a suite of static analysis tools—including Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint—covering installation, configuration, usage, and interpretation of results to catch bugs and enforce standards.

IDE pluginsJavaStatic Analysis
0 likes · 12 min read
Boost Java Code Quality: Alibaba Guidelines, CheckStyle, PMD, FindBugs & SonarLint
Code Ape Tech Column
Code Ape Tech Column
Mar 18, 2025 · Backend Development

20 Essential Coding Habits for Backend Developers

This article presents twenty essential coding habits for backend developers, covering self‑testing, parameter validation, interface compatibility, clear comments, proper resource handling, runtime error avoidance, avoiding remote calls in loops, concurrency safety, null checks, thread‑pool usage, SQL testing, third‑party API handling, idempotency, thread‑safe collections, master‑slave latency, cache consistency, refactoring, version control, testing, and performance monitoring.

Backend DevelopmentConcurrencyJava
0 likes · 15 min read
20 Essential Coding Habits for Backend Developers
Python Programming Learning Circle
Python Programming Learning Circle
Feb 25, 2025 · Fundamentals

Understanding Python Type Hints: Benefits, Examples, and Best Practices

This article explains why adding type hints to Python code—despite increasing line count—enhances readability, enables early error detection with IDEs and static checkers, improves maintenance, and ultimately makes development more efficient and reliable.

Pythoncode qualityide
0 likes · 8 min read
Understanding Python Type Hints: Benefits, Examples, and Best Practices
macrozheng
macrozheng
Feb 20, 2025 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how Java 8 streams and lambda expressions can make code shorter and more elegant, while highlighting common mistakes such as poor formatting, oversized functions, misuse of Optional, and over‑reliance on parallel streams, and offers practical guidelines for writing readable, maintainable backend code.

BackendJavaOptional
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
Code Mala Tang
Code Mala Tang
Jan 27, 2025 · Fundamentals

How to Refactor Flag‑Heavy Python Functions for Cleaner, Scalable Code

This article examines a Python function overloaded with flags, explains why such design harms readability, testability, and extensibility, and demonstrates step‑by‑step refactoring using descriptive helper functions, a pipeline approach, flexible step lists, and type annotations to produce clean, maintainable code.

PipelinePythoncode quality
0 likes · 5 min read
How to Refactor Flag‑Heavy Python Functions for Cleaner, Scalable Code