Skip to content
Tagged articles

code quality

500 articles · Page 5 of 5
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 27, 2020 · R&D Management

Tackling Code Quality, Testing, and Efficiency Challenges in Software Development

This article examines common pitfalls in code quality, testing, and development efficiency, analyzes their root causes, and proposes concrete, actionable solutions such as performance optimization, stricter coding standards, regular code reviews, improved testing practices, and enhanced team collaboration to boost overall software project success.

Performance OptimizationR&D managementcode quality
0 likes · 12 min read
Tackling Code Quality, Testing, and Efficiency Challenges in Software Development
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 3, 2020 · Fundamentals

Boost Your Python Code Quality with Type Annotations

This article introduces Python type annotations, explains why they improve code consistency and readability in collaborative projects, demonstrates simple and advanced usage with code examples and screenshots, and encourages developers to adopt static typing for better maintenance and fewer runtime errors.

Best Practicescode qualityprogramming
0 likes · 5 min read
Boost Your Python Code Quality with Type Annotations
Liangxu Linux
Liangxu Linux
Aug 29, 2020 · Fundamentals

Why a Two‑Line Fix Can Take Two Days: Hidden Costs of Bug Fixing

A seemingly simple two‑line code change can stretch into days because of unclear bug reports, unfamiliar features, thorough root‑cause analysis, multiple reproduction paths, impact checks, careful solution design, and comprehensive testing, all of which aim to prevent future regressions.

bug fixingcode qualitysoftware development
0 likes · 5 min read
Why a Two‑Line Fix Can Take Two Days: Hidden Costs of Bug Fixing
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 23, 2020 · Fundamentals

Why Large Software Systems Spiral into Complexity and How to Tame It

This article explores why massive distributed applications quickly become complex, identifies cognitive load and collaboration cost as the two main dimensions of software complexity, and offers practical design, naming, testing, and documentation strategies to keep systems maintainable over time.

Design Principlescode qualitycognitive load
0 likes · 25 min read
Why Large Software Systems Spiral into Complexity and How to Tame It
ITPUB
ITPUB
Aug 18, 2020 · Fundamentals

How to Write Clear Git Commit Messages and Enforce Them with Webhooks

This article explains why clear Git commit messages matter, presents a concrete commit‑message format with type, optional scope, and subject, lists the allowed types, shows examples, and describes a webhook‑based monitoring service that warns or blocks non‑conforming commits while also tracking large changes and file deletions.

Commit MessageWebhookcode quality
0 likes · 10 min read
How to Write Clear Git Commit Messages and Enforce Them with Webhooks
Java Captain
Java Captain
Aug 16, 2020 · Fundamentals

Why Classes Should Not Be Too Long and How to Refactor Overgrown Classes

The article explains why excessively long classes with many responsibilities hinder readability and extensibility, outlines the problems of redundant code and SRP violations, and provides practical refactoring techniques—such as extracting methods, moving members, and creating new classes—using IntelliJ IDEA.

IntelliJ IDEASingle Responsibility Principleclass design
0 likes · 11 min read
Why Classes Should Not Be Too Long and How to Refactor Overgrown Classes
QQ Music Frontend Team
QQ Music Frontend Team
Jul 20, 2020 · Fundamentals

Why Refactoring Matters: Principles, Timing, and Practical Techniques

Refactoring improves code understandability and reduces maintenance costs by reorganizing internal structure without changing behavior, and this guide explains its purpose, timing, principles, common code smells, measurement metrics, and practical techniques across data, statement, subroutine, class, and system levels.

Best Practicescode qualityrefactoring
0 likes · 20 min read
Why Refactoring Matters: Principles, Timing, and Practical Techniques
Youku Technology
Youku Technology
Jul 17, 2020 · Backend Development

Defensive Programming, Exception Handling, and DRY Principle in Java

The article explains how defensive programming in Java—using guard clauses, validators, and side‑effect‑free assertions—prevents errors, outlines proper exception handling by distinguishing checked from unchecked exceptions, and reinforces the DRY principle, urging developers to abstract repeated logic after three occurrences.

DRY PrincipleJavacode quality
0 likes · 18 min read
Defensive Programming, Exception Handling, and DRY Principle in Java
政采云技术
政采云技术
Jul 12, 2020 · Frontend Development

Developing Custom ESLint Rules for Consistent and Maintainable Frontend Code

This comprehensive guide explores the principles of ESLint and abstract syntax trees, providing step-by-step instructions for developing custom linting rules and plugins to enforce coding standards, prevent hardcoded configurations, and maintain high-quality frontend codebases across collaborative development environments.

AST parsingCustom Linting RulesDeveloper Tools
0 likes · 10 min read
Developing Custom ESLint Rules for Consistent and Maintainable Frontend Code
NetEase Game Operations Platform
NetEase Game Operations Platform
Jul 11, 2020 · Operations

GitLab Code Review Workflow and Configuration Guide

This article provides a comprehensive guide to GitLab code review, covering environment setup, Git flow basics, review methods, configuration of approvals, templates, issue linking, Code Quality integration with CI/CD, step‑by‑step practice, and recommendations for choosing between Community and Enterprise editions.

CI/CDDevOpsGitLab
0 likes · 10 min read
GitLab Code Review Workflow and Configuration Guide
Qunhe Technology Quality Tech
Qunhe Technology Quality Tech
Jun 5, 2020 · R&D Management

How a Unified Code Metrics Platform Boosts Development Quality and Efficiency

This article describes the design, implementation, and operational strategy of a comprehensive code‑metrics platform that standardizes coding standards, automates quality checks, and drives data‑guided improvements across multiple development teams, ultimately enhancing code reliability, maintainability, and CI/CD flow.

CI/CDR&D managementcode quality
0 likes · 10 min read
How a Unified Code Metrics Platform Boosts Development Quality and Efficiency
Java Captain
Java Captain
May 30, 2020 · Fundamentals

Integrating SonarLint into IntelliJ IDEA for Pre‑Commit Code Quality Checks

This guide explains how to integrate SonarLint into IntelliJ IDEA to perform pre‑commit code quality checks, covering the tool’s objectives, the seven quality dimensions it assesses, required prerequisites, plugin installation steps, and detailed project and server configuration procedures.

IntelliJ IDEAJavaSonarLint
0 likes · 4 min read
Integrating SonarLint into IntelliJ IDEA for Pre‑Commit Code Quality Checks
Top Architect
Top Architect
May 20, 2020 · Fundamentals

Eliminating Overused if…else Statements: Refactoring Techniques and Design Patterns

This article examines why excessive if…else statements harm code readability and maintainability, and presents a range of refactoring approaches—including table‑driven mapping, chain‑of‑responsibility, annotation‑driven, event‑driven, state machines, Optional, Assert, and polymorphism—to replace or simplify them, while also addressing deep nesting and complex conditional expressions.

Design Patternscode qualityif-else
0 likes · 19 min read
Eliminating Overused if…else Statements: Refactoring Techniques and Design Patterns
Continuous Delivery 2.0
Continuous Delivery 2.0
May 13, 2020 · Backend Development

Practical Guide to Unit Testing: Experiences, Benefits, Obstacles, and Implementation Strategies

This comprehensive article shares the author's hands‑on experience with unit testing, explains why testing drives better design and lower costs, outlines common misconceptions and obstacles, and provides detailed implementation guidelines—including architecture refactoring, dependency inversion, and a real‑world TV service example—to help developers start writing effective unit tests.

code qualitysoftware architecturetesting practices
0 likes · 26 min read
Practical Guide to Unit Testing: Experiences, Benefits, Obstacles, and Implementation Strategies
21CTO
21CTO
May 12, 2020 · Fundamentals

Avoid These Common Programming Mistakes to Boost Code Quality

This article outlines frequent programming errors—such as trusting user input, skipping tests, neglecting documentation and logs, hard‑coding values, ignoring rest, and failing to keep learning—and offers practical advice to prevent them and improve software reliability.

code qualitydocumentationprogramming best practices
0 likes · 5 min read
Avoid These Common Programming Mistakes to Boost Code Quality
Architecture Digest
Architecture Digest
May 7, 2020 · Fundamentals

Eliminating Excessive if…else: Patterns and Refactoring Techniques

This article examines the problems caused by overusing if…else statements in code—such as poor readability, maintainability, and violation of design principles—and presents a collection of refactoring patterns, including table‑driven design, chain of responsibility, annotation‑driven, event‑driven, state machines, Optional, guard clauses, and polymorphism, with concrete Java examples.

Design Patternscode qualityif-else
0 likes · 19 min read
Eliminating Excessive if…else: Patterns and Refactoring Techniques
DevOps
DevOps
May 6, 2020 · Fundamentals

The Elephant in the Room: Reflections on Bad Code, Industry Myths, and How to Improve Software Development

In this translated talk, Niclas Hedhman examines why poor code proliferates in the software industry, debunks common myths about development, highlights the hidden challenges programmers face, and proposes practical principles such as the KISS rule to gradually raise code quality and developer satisfaction.

code qualityindustry mythsprogrammer productivity
0 likes · 13 min read
The Elephant in the Room: Reflections on Bad Code, Industry Myths, and How to Improve Software Development
Programmer DD
Programmer DD
May 5, 2020 · Fundamentals

Why Long Classes Break Your Code and How to Refactor Them with IDEA

This article explains why excessively long classes are hard to read and extend, outlines the problems caused by redundant code and multiple responsibilities, and provides step‑by‑step refactoring techniques using IntelliJ IDEA to extract methods, move members, and create new classes.

IDEAJavaSingle Responsibility Principle
0 likes · 8 min read
Why Long Classes Break Your Code and How to Refactor Them with IDEA
Java Backend Technology
Java Backend Technology
May 5, 2020 · Fundamentals

Why Your 900-Line Class Is a Nightmare and How to Refactor It

The article explains why excessively long classes are hard to read, extend, and maintain, outlines the problems caused by redundant code and multiple responsibilities, and provides step‑by‑step refactoring techniques using IntelliJ IDEA to extract methods, move members, and create new classes.

IDEOOPcode quality
0 likes · 8 min read
Why Your 900-Line Class Is a Nightmare and How to Refactor It
Top Architect
Top Architect
Apr 29, 2020 · Fundamentals

Eliminating Excessive if...else Statements: Problems, Solutions, and Refactoring Techniques

The article examines the drawbacks of overusing if...else constructs in software, explains why they harm readability and maintainability, and presents ten practical refactoring methods—including table‑driven, chain‑of‑responsibility, annotation‑driven, event‑driven, state machine, Optional, Assert, guard clauses, and method extraction—to simplify or replace complex conditional logic.

Design Patternscode qualityif-else
0 likes · 16 min read
Eliminating Excessive if...else Statements: Problems, Solutions, and Refactoring Techniques
DevOps Cloud Academy
DevOps Cloud Academy
Apr 21, 2020 · Operations

Resolving Common SonarQube Issues: Data Instability, Rule Configuration, and Project Authorization

This article discusses common challenges encountered when using SonarQube at scale—including data instability across branches, rule configuration for new projects, and project permission management—and presents practical solutions such as branch-specific project naming, Jenkins-driven API automation, and recommendations for purchasing commercial editions.

CI/CDDevOpsJenkins
0 likes · 6 min read
Resolving Common SonarQube Issues: Data Instability, Rule Configuration, and Project Authorization
21CTO
21CTO
Apr 17, 2020 · Fundamentals

10 Proven Techniques to Eliminate Excessive if…else in Your Code

This article explains why overusing if…else harms code readability and maintainability, outlines ten practical methods—including table‑driven, chain of responsibility, annotation‑driven, event‑driven, state machines, Optional, Assert, and polymorphism—to refactor or replace complex conditional logic, and provides Java code examples for each approach.

Design Patternscode qualityif-else
0 likes · 16 min read
10 Proven Techniques to Eliminate Excessive if…else in Your Code
dbaplus Community
dbaplus Community
Apr 16, 2020 · Fundamentals

Why Code Quality Fails Projects and 4 Proven Ways to Fix It

The article examines why many software projects deteriorate due to poor code quality, outlines four common pitfalls such as oversized components, low cohesion, tangled logic, and rampant if‑else statements, and presents concrete refactoring strategies—including inverted‑pyramid design, lib/framework separation, Template Method pattern, and rich enums—to dramatically improve maintainability and project success.

Design Patternscode qualitymaintainability
0 likes · 37 min read
Why Code Quality Fails Projects and 4 Proven Ways to Fix It
macrozheng
macrozheng
Apr 14, 2020 · Fundamentals

Why Code Quality Matters: 4 Common Pitfalls and Proven Solutions for Developers

This article examines why high‑quality, maintainable code is essential for software projects, outlines four recurring code‑quality problems—including oversized components, low cohesion, tangled logic, and excessive if‑else—and presents concrete refactoring patterns such as inverted‑pyramid design, proper lib/framework reuse, Template Method separation, and rich enum types, while also introducing a CODEX indexing technique for large codebases.

Best PracticesDesign Patternscode quality
0 likes · 38 min read
Why Code Quality Matters: 4 Common Pitfalls and Proven Solutions for Developers
Programmer DD
Programmer DD
Mar 31, 2020 · Backend Development

Why Your Java Classes Shouldn’t Exceed a Thousand Lines—and How to Refactor Them

Long, monolithic Java classes with hundreds of methods become unreadable, hard to extend, and prone to redundant code, so this guide explains the drawbacks of oversized classes and provides step‑by‑step refactoring techniques using IntelliJ IDEA to extract methods, move members, and create new classes.

IDEAJavaSingle Responsibility Principle
0 likes · 8 min read
Why Your Java Classes Shouldn’t Exceed a Thousand Lines—and How to Refactor Them
Programmer DD
Programmer DD
Mar 24, 2020 · Fundamentals

How to Write Code Nobody Can Maintain – A Satirical Guide

This tongue‑in‑cheek article enumerates a series of deliberately bad programming practices—from confusing variable names and misleading comments to over‑engineered designs and zero testing—to show how to make code virtually impossible to maintain.

Javabad practicescode quality
0 likes · 12 min read
How to Write Code Nobody Can Maintain – A Satirical Guide
Programmer DD
Programmer DD
Mar 9, 2020 · Fundamentals

19 Hilarious Rules for Writing the Worst Code (And How to Avoid Them)

This article humorously presents a GitHub project's 19 tongue‑in‑cheek guidelines for writing terrible code—from typing less and mixing naming styles to avoiding comments, tests, and documentation—while illustrating each rule with vivid examples and images.

bad practicescode qualitycoding guidelines
0 likes · 8 min read
19 Hilarious Rules for Writing the Worst Code (And How to Avoid Them)
ITPUB
ITPUB
Feb 9, 2020 · Fundamentals

19 Counterintuitive Rules for Writing Deliberately Bad Code

This article presents a tongue‑in‑cheek guide of nineteen "anti‑best‑practice" rules sourced from a GitHub project, illustrating how to deliberately produce unreadable, unmaintainable code by minimizing typing, mixing naming styles, avoiding comments, and other absurd conventions.

GitHubanti-patternscode quality
0 likes · 6 min read
19 Counterintuitive Rules for Writing Deliberately Bad Code
Architecture Digest
Architecture Digest
Feb 6, 2020 · Backend Development

Refactoring a 3000‑Line C# System to 15 Lines: Lessons and Practices

An experienced developer recounts how he transformed a cumbersome three‑tier C# data‑center management system from thousands of lines to a concise, maintainable codebase using reflection, generics, and thoughtful refactoring, while sharing practical advice on avoiding code generators, reducing duplication, and embracing unit testing.

C++Design Patternsbackend development
0 likes · 18 min read
Refactoring a 3000‑Line C# System to 15 Lines: Lessons and Practices
Liangxu Linux
Liangxu Linux
Jan 30, 2020 · Information Security

Top 11 Open-Source Code Quality and Security Tools Every Developer Should Know

An overview of eleven essential open-source and commercial tools—including SonarQube, Kritika, DeepScan, Klocwork, CodeSonar, JArchitect, Bandit, Code Climate, Crucible, Fortify, and Codecov—that help developers analyze code quality, detect security vulnerabilities, and integrate seamlessly into CI/CD pipelines across multiple programming languages.

CI/CDcode qualityopen-source tools
0 likes · 8 min read
Top 11 Open-Source Code Quality and Security Tools Every Developer Should Know
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 19, 2020 · Fundamentals

How to Identify, Break, and Prevent Technical Debt in Software Projects

The article explains what technical debt is, how it creates a vicious cycle that slows development, outlines common causes such as rushed releases and copy‑paste coding, and offers practical strategies—including measurement tools, incremental migration and full rewrites—to manage and avoid it.

code qualityproject managementrefactoring
0 likes · 9 min read
How to Identify, Break, and Prevent Technical Debt in Software Projects
FunTester
FunTester
Jan 7, 2020 · Fundamentals

Why High Test Coverage Can Mislead You: Lessons from Java Code

This article explains how test‑coverage metrics such as line and branch coverage can give a false sense of quality, demonstrates common pitfalls with Java examples and Cobertura reports, and offers practical guidelines for using coverage data to improve testing and code reliability.

CoberturaJUnitJava
0 likes · 17 min read
Why High Test Coverage Can Mislead You: Lessons from Java Code
21CTO
21CTO
Jan 3, 2020 · Fundamentals

12 Warning Signs That Your Software Design Is Growing Too Complex

The article lists twelve danger signals—ranging from shallow modules and information leaks to vague naming and unreadable code—that reveal hidden complexity in software design and help developers identify and refactor problematic patterns.

Complexityanti-patternscode quality
0 likes · 6 min read
12 Warning Signs That Your Software Design Is Growing Too Complex
ITPUB
ITPUB
Nov 26, 2019 · Fundamentals

Linus Torvalds on Open Source, Coding Philosophy, and Elegant Linked‑List Removal

In a candid interview, Linus Torvalds shares his pragmatic engineering mindset, explains why Git was his second major project, and demonstrates how a clean pointer‑indirection technique can simplify linked‑list element removal, contrasting it with a more cumbersome approach.

Linked ListLinus TorvaldsOpen Source
0 likes · 6 min read
Linus Torvalds on Open Source, Coding Philosophy, and Elegant Linked‑List Removal
FunTester
FunTester
Nov 21, 2019 · Operations

How to Build a Robust SaaS Testing Strategy to Cut Costs and Boost Quality

Effective software testing is essential for SaaS startups to avoid costly failures; this guide outlines five key strategies—aligning quality checks with business goals, detailed test planning, fostering a supportive testing environment, conducting user acceptance testing, and measuring code quality with CISQ metrics—to ensure high‑quality releases.

CISQSaaScode quality
0 likes · 7 min read
How to Build a Robust SaaS Testing Strategy to Cut Costs and Boost Quality
Senior Brother's Insights
Senior Brother's Insights
Nov 13, 2019 · Operations

Mastering System Performance: Principles, Layers, and Practical Optimization Techniques

This article outlines fundamental performance‑optimization principles, the hierarchical stages of optimization (requirements, design, implementation), and practical methods such as caching, concurrency, laziness, batching, efficient implementations, and solution‑space reduction, while stressing the balance with code quality and long‑term maintenance.

Systemscachingcode quality
0 likes · 13 min read
Mastering System Performance: Principles, Layers, and Practical Optimization Techniques
21CTO
21CTO
Nov 8, 2019 · Fundamentals

What Makes a Code Hero? Lessons from a Decade of Huawei Software Engineering

This reflective essay shares a Huawei veteran’s journey through ten‑plus years of coding, emphasizing solid fundamentals, clean architecture, performance tuning, rigorous change‑control practices, and continuous curiosity about emerging technologies as the keys to becoming a reliable software engineer.

code qualitysoftware engineering
0 likes · 13 min read
What Makes a Code Hero? Lessons from a Decade of Huawei Software Engineering
Continuous Delivery 2.0
Continuous Delivery 2.0
Nov 4, 2019 · Fundamentals

Evaluating and Managing Legacy Code Quality with Simple Metrics

The article explains how to assess a project's code quality using four key metrics, compare error density between codebases, manage legacy code with the Scout Camp principle, and choose reasonable thresholds such as cyclomatic complexity, providing a practical approach for continuous delivery.

Continuous Deliverycode qualitylegacy code
0 likes · 4 min read
Evaluating and Managing Legacy Code Quality with Simple Metrics
DevOps Cloud Academy
DevOps Cloud Academy
Oct 19, 2019 · Operations

Resolving Common SonarQube Platform Issues: Data Instability, Rule Configuration, and Project Authorization

This article explains how to address three common SonarQube challenges—data instability across branches, difficulty assigning quality profiles, and project permission management—by creating per‑branch projects, using Jenkins pipeline scripts with Sonar REST APIs, and applying permission templates to streamline large‑scale code‑quality scanning.

CI/CDDevOpsJenkins
0 likes · 7 min read
Resolving Common SonarQube Platform Issues: Data Instability, Rule Configuration, and Project Authorization
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 11, 2019 · Backend Development

Boost Java Code Quality: Essential Practices to Eliminate Bad Smells

This article compiles practical Java best‑practice tips—from using entrySet() for map iteration and Collection.isEmpty() for emptiness checks to pre‑sizing collections, avoiding magic numbers, employing try‑with‑resources, and cleaning unused code—helping developers write more efficient, readable, and bug‑free code.

Javacode qualityrefactoring
0 likes · 15 min read
Boost Java Code Quality: Essential Practices to Eliminate Bad Smells
Architect's Tech Stack
Architect's Tech Stack
Sep 26, 2019 · Fundamentals

Refactoring Principles, Code Smells, and Techniques for Improving Code Quality

This article explains why and how to refactor legacy code by defining refactoring principles, describing common code smells, and presenting concrete techniques such as extracting functions, moving fields, introducing explanatory variables, and reorganizing data and inheritance hierarchies to produce cleaner, more maintainable software.

code qualityrefactoringsoftware engineering
0 likes · 23 min read
Refactoring Principles, Code Smells, and Techniques for Improving Code Quality
Python Programming Learning Circle
Python Programming Learning Circle
Sep 25, 2019 · Fundamentals

Why My Student Project’s Code Is a Nightmare—and How to Fix It

A graduate student recounts the chaotic state of his research team's C# data‑mining project, highlighting poor naming conventions, oversized classes, overuse of singletons, redundant code, lack of proper inheritance, and other anti‑patterns, while offering concrete suggestions such as using meaningful identifiers, applying the single‑responsibility principle, leveraging LINQ, and adopting MVVM for cleaner, more maintainable code.

Best PracticesC++Design Patterns
0 likes · 8 min read
Why My Student Project’s Code Is a Nightmare—and How to Fix It
Meituan Technology Team
Meituan Technology Team
Sep 19, 2019 · Fundamentals

Principles for Reducing Software Complexity

Drawing on Ousterhout’s philosophy, the article defines software complexity as cognitive load multiplied by development effort and offers principles such as iterative design, layered architecture, deep modules, information hiding, and purposeful documentation to systematically reduce ripple effects, dependencies, and unknowns in code.

code qualitycomplexity reductionengineering principles
0 likes · 18 min read
Principles for Reducing Software Complexity
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 11, 2019 · Fundamentals

What Makes Code Truly Good? Essential Principles and Practices

This article explores the essential characteristics of clean code, emphasizing high cohesion, low coupling, readability, proper naming, formatting, concise classes and functions, effective comments, error handling, and common code smells, while providing practical guidelines and examples for developers.

Clean Codecode qualityrefactoring
0 likes · 11 min read
What Makes Code Truly Good? Essential Principles and Practices
360 Quality & Efficiency
360 Quality & Efficiency
Aug 23, 2019 · Fundamentals

Introduction to SonarQube: Background, Installation, Configuration, and Usage

This article introduces SonarQube, an open‑source platform for code quality management, explains its seven quality dimensions, provides step‑by‑step installation and configuration instructions (including JDK, MySQL, and scanner setup), demonstrates scanning a project, and summarizes its advantages for developers.

SonarQubecode qualitysoftware testing
0 likes · 5 min read
Introduction to SonarQube: Background, Installation, Configuration, and Usage
DevOps Cloud Academy
DevOps Cloud Academy
Jun 7, 2019 · Operations

SonarQube Architecture and Integration Overview

This article explains SonarQube’s architecture, detailing its server, database, plugin library, and scanner components, and describes the typical development workflow from IDE integration and code commit through CI‑triggered analysis, result submission, and code review, including deployment considerations for machines and network placement.

CI/CDDevOpsSonarQube
0 likes · 3 min read
SonarQube Architecture and Integration Overview
Beike Product & Technology
Beike Product & Technology
May 23, 2019 · Fundamentals

Frontend Automated Testing: A Comprehensive Guide

This article explores four key questions about automated testing: what it is, why it matters, which projects benefit from it, and how to implement it, providing a complete frontend testing framework including unit testing, API testing, functional testing, and benchmark testing.

API TestingFrontend TestingReact Testing
0 likes · 16 min read
Frontend Automated Testing: A Comprehensive Guide
Java Backend Technology
Java Backend Technology
May 11, 2019 · Fundamentals

Why Bugs Are Inevitable and How to Find Them Faster

The article explores what a bug really is, why bugs inevitably appear in software development, and offers practical strategies—such as effective logging, leveraging debugging tools, and keeping iteration sizes small—to locate and resolve bugs more quickly.

Best PracticesDebuggingLogging
0 likes · 13 min read
Why Bugs Are Inevitable and How to Find Them Faster
Programmer DD
Programmer DD
Feb 19, 2019 · Fundamentals

Avoid the 7 Deadly Sins That Sabotage Your Code

This article explores the seven common programming pitfalls—from skipping version control and poor naming to unchecked dependencies, inconsistent formatting, inadequate error handling, and misuse of data types—offering practical advice to write cleaner, more maintainable code.

Best Practicescode qualityprogramming
0 likes · 7 min read
Avoid the 7 Deadly Sins That Sabotage Your Code
21CTO
21CTO
Jan 21, 2019 · Fundamentals

How to Write Clean, Maintainable Code: Refactoring and Naming Best Practices

This guide explains why writing high‑quality code matters, outlines essential principles such as thoughtful design, using tools like SonarQube, proper class, method, variable, and constant naming, and demonstrates refactoring techniques with Java examples to produce more readable and robust software.

Best Practicescode qualitynaming conventions
0 likes · 8 min read
How to Write Clean, Maintainable Code: Refactoring and Naming Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Jan 8, 2019 · R&D Management

Lessons on Development Process, Code Quality, and Team Management

A senior engineer reflects on a decade of work at major Chinese tech firms, stressing that clear, responsibility‑driven processes and steady rhythm prevent chaos, while judicious tool choice, appropriate architecture, rigorous bug analysis, consistent style, thorough commenting, security measures, and reusable utilities together boost code quality, maintainability, and development efficiency.

Team Processarchitecturebug handling
0 likes · 13 min read
Lessons on Development Process, Code Quality, and Team Management
Java Captain
Java Captain
Jan 8, 2019 · Fundamentals

How to Minimize Bugs in Development: Practices and Tips

The article shares practical methods for reducing bugs throughout the software development lifecycle, emphasizing early communication with product managers and testers, thorough design and code reviews, mandatory unit testing, continuous integration, and proactive log monitoring to ensure smooth testing and delivery.

bug preventioncode qualitycommunication
0 likes · 7 min read
How to Minimize Bugs in Development: Practices and Tips
High Availability Architecture
High Availability Architecture
Nov 21, 2018 · Databases

Challenges of Maintaining a Massive C‑Language Database Codebase

The article examines the difficulties of developing and sustaining a multi‑million‑line C‑language database, highlighting complex flag‑driven logic, extensive testing pipelines, slow iteration cycles, and the need for automation, modularity, and robust engineering practices to ensure code quality at scale.

Database Engineeringautomationcode quality
0 likes · 6 min read
Challenges of Maintaining a Massive C‑Language Database Codebase
Node Underground
Node Underground
Nov 8, 2018 · Frontend Development

Why Pure Functions Matter in JavaScript: Benefits, Examples, and Best Practices

Pure functions are deterministic, side‑effect‑free routines that always return the same output for identical inputs, and this article explains their definition, observable side effects, practical JavaScript examples of pure and impure functions, and why they improve testability, refactoring, and code quality in modern front‑end development.

Pure Functionscode qualityfunctional programming
0 likes · 6 min read
Why Pure Functions Matter in JavaScript: Benefits, Examples, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Oct 29, 2018 · Backend Development

Essential PHP Backend Best Practices for Clean, Secure, and High‑Performance Code

This guide outlines key PHP backend practices—including abandoning deprecated mysql_ functions, avoiding unnecessary reference passing, writing efficient queries, validating user input, and embracing modern tools and languages—to help developers produce clean, secure, and high‑performance applications.

BackendBest PracticesSecurity
0 likes · 6 min read
Essential PHP Backend Best Practices for Clean, Secure, and High‑Performance Code
21CTO
21CTO
Oct 25, 2018 · Fundamentals

Why Bad Code Persists: 3 Core Reasons and How to Fix It

The article examines why the software industry produces low‑quality code, identifying three main causes—low expectations, poor programming books, and shortcut‑driven practices—and suggests how developers and leaders can improve code standards.

Programming Practicesbad codecode quality
0 likes · 6 min read
Why Bad Code Persists: 3 Core Reasons and How to Fix It
iQIYI Technical Product Team
iQIYI Technical Product Team
Oct 19, 2018 · Fundamentals

Improving Code Quality: Insights from Clean Code and Practical Practices

Improving code quality requires adopting Clean Code principles—clear naming, purposeful comments, consistent formatting, robust error handling, small single‑responsibility classes, shared conventions, and a disciplined workflow that integrates pre‑commit checks, automated static analysis, code reviews, and continuous metric monitoring to ensure each change is cleaner than the last.

code qualitycode reviewcoding standards
0 likes · 11 min read
Improving Code Quality: Insights from Clean Code and Practical Practices
MaGe Linux Operations
MaGe Linux Operations
Oct 3, 2018 · Fundamentals

Boost Your Python Code Quality: 75 Practical Tips and Best Practices

This article compiles 75 concise Python coding recommendations covering style, idioms, core language features, standard libraries, design patterns, internal mechanisms, tooling, and performance optimization to help developers write cleaner, more maintainable, and efficient Python code.

Pythonbest-practicescode quality
0 likes · 15 min read
Boost Your Python Code Quality: 75 Practical Tips and Best Practices
Java Captain
Java Captain
Sep 19, 2018 · Backend Development

Refactoring Poor Spring MVC Code: Lessons on Clean Backend Development

The article critiques badly written Spring controller and service code, explains how poor coding habits cause maintenance headaches, and demonstrates a cleaner, AOP‑based approach that reduces boilerplate and improves code quality for backend Java applications.

AOPBackendBest Practices
0 likes · 6 min read
Refactoring Poor Spring MVC Code: Lessons on Clean Backend Development
Tencent Cloud Developer
Tencent Cloud Developer
Sep 12, 2018 · Fundamentals

10 Tips on How to Be a Great Programmer

To become a great programmer, ask clear, well‑prepared questions, learn to solve problems independently, never compromise on quality, write deterministic code, embrace unexpected failures, avoid idolizing tools, practice daily, specialize while staying curious about other domains, and relentlessly strive for simple, maintainable solutions.

code qualitydeterministic programmingprofessional growth
0 likes · 16 min read
10 Tips on How to Be a Great Programmer
CSS Magic
CSS Magic
Aug 24, 2018 · Frontend Development

Fix Common ESLint Warnings in Existing JavaScript Code (Part 4)

This article explains how to handle the ESLint "no-fallthrough" and "no-undef" rules, showing when to add explicit comments, convert globals to locals, and why the comment‑based fix is often the most efficient for legacy JavaScript code.

ESLintJavaScriptcode quality
0 likes · 6 min read
Fix Common ESLint Warnings in Existing JavaScript Code (Part 4)
Java Backend Technology
Java Backend Technology
Aug 16, 2018 · Fundamentals

Why Big Tech Sticks to Outdated Tech: Code Chaos and Process Pitfalls

The article examines why many large, well‑known tech companies suffer from messy code, chaotic development processes, and reliance on outdated technologies, exploring the underlying personnel dynamics, reconstruction costs, and the tension between business and technical value.

career advicecode qualitylarge companies
0 likes · 11 min read
Why Big Tech Sticks to Outdated Tech: Code Chaos and Process Pitfalls
Architecture Digest
Architecture Digest
Aug 5, 2018 · Fundamentals

Why Programmers Refactor Code and How to Do It Effectively

The article examines why developers feel compelled to refactor messy code, illustrates common pitfalls such as mixing refactoring with new feature development, and proposes practical strategies—including separating refactoring from feature work, adopting small‑step incremental changes, and integrating test‑driven development—to manage refactoring projects successfully.

code qualitydevelopment processproject management
0 likes · 6 min read
Why Programmers Refactor Code and How to Do It Effectively
21CTO
21CTO
Jul 31, 2018 · Fundamentals

5 Proven Strategies to Become a High‑Impact Software Engineer

This article shares five practical recommendations—cultivating genuine passion, treating code as art, writing massive amounts of quality code, staying curious, and focusing on user needs—to help programmers evolve from novices into highly effective, market‑ready developers.

Learningcareer advicecode quality
0 likes · 7 min read
5 Proven Strategies to Become a High‑Impact Software Engineer
CSS Magic
CSS Magic
Jul 27, 2018 · Frontend Development

Fix Common ESLint Warnings in Existing JS Code (Part 3)

This article explains how to resolve the ESLint "no‑empty" and "no‑empty‑function" warnings by refactoring empty blocks, adding explanatory comments, using noop helpers, and validating callbacks, providing concrete code examples and step‑by‑step reasoning.

ESLintJavaScriptcode quality
0 likes · 6 min read
Fix Common ESLint Warnings in Existing JS Code (Part 3)
360 Tech Engineering
360 Tech Engineering
Jun 19, 2018 · Backend Development

Improving PHP Code Quality with PHING, PHPCS, PHPCPD, and Phan

This article explains how to set up a PHP project with Composer, PHING, and a suite of quality‑checking tools—including PHPCS for coding standards, PHPCPD for duplicate detection, and Phan for deep static analysis—to automatically enforce code quality and reduce manual review effort.

PHINGPHPPHPCPD
0 likes · 7 min read
Improving PHP Code Quality with PHING, PHPCS, PHPCPD, and Phan
Architecture Digest
Architecture Digest
Jun 15, 2018 · R&D Management

Elasticsearch Team Development Constitution: Principles and Guidelines for Sustainable Software Development

The Elasticsearch Team Development Constitution outlines a comprehensive set of principles and guidelines—covering design philosophy, code quality, interaction etiquette, and organizational responsibilities—to help the rapidly growing project evolve into a reliable, secure, scalable, and user‑friendly distributed search engine.

ElasticsearchOpen Sourcecode quality
0 likes · 19 min read
Elasticsearch Team Development Constitution: Principles and Guidelines for Sustainable Software Development
转转QA
转转QA
Jun 5, 2018 · Operations

Static Code Scanning Workflow and Tool Selection for Mobile Projects

This article outlines the motivation, tool comparison, and detailed step‑by‑step process for implementing static code scanning across Android and iOS codebases, emphasizing the selection of Infer and the integration of scanning results into CI pipelines and issue‑tracking workflows.

AndroidContinuous IntegrationInfer
0 likes · 8 min read
Static Code Scanning Workflow and Tool Selection for Mobile Projects
MaGe Linux Operations
MaGe Linux Operations
May 7, 2018 · Fundamentals

Mastering Python Variable Naming: Boost Code Readability

This article explores why descriptive variable names are crucial for Python code quality, presents practical naming principles, discusses type‑hinting through names, introduces Hungarian notation, and offers actionable tips for defining, using, and cleaning up variables to write clearer, more maintainable code.

Best PracticesPythoncode quality
0 likes · 13 min read
Mastering Python Variable Naming: Boost Code Readability
Qunar Tech Salon
Qunar Tech Salon
Apr 20, 2018 · Fundamentals

Clean Code Practices and Guidelines for Java Development

This article explains the concept of clean code, why clean code awareness is essential for developers, illustrates common bad‑code patterns with real Java examples, and provides practical guidelines—including formatting, development standards, code‑review rules, Maven conventions, Lombok usage, and refactoring strategies—to help teams write maintainable, readable, and efficient code.

Best PracticesClean Codecode quality
0 likes · 13 min read
Clean Code Practices and Guidelines for Java Development
Meituan Technology Team
Meituan Technology Team
Apr 12, 2018 · Mobile Development

Implementing and Managing Custom Android Lint Rules for Code Quality

The article explains how to create, configure, and integrate custom Android Lint rules—using Issue, Detector, Scope, and IssueRegistry APIs—to catch crashes, bugs, performance and security problems such as missing Toast.show() or unsafe Log usage, supports incremental git‑based scans, and demonstrates deployment in IDE, builds, pre‑commit hooks and CI for improved code quality.

AndroidCIGradle
0 likes · 23 min read
Implementing and Managing Custom Android Lint Rules for Code Quality
ITPUB
ITPUB
Mar 30, 2018 · Fundamentals

5 Simple Principles for Writing Clean, Maintainable Code

The article presents five practical concepts—avoiding overly clever tricks, modularizing with divide‑and‑conquer, keeping code IDE‑friendly, ensuring readability through clear architecture and naming, and minimizing branching—to help developers write clean, maintainable code and boost productivity.

Clean Codecode qualitymodularization
0 likes · 9 min read
5 Simple Principles for Writing Clean, Maintainable Code
Java Backend Technology
Java Backend Technology
Feb 24, 2018 · Backend Development

What Makes a Great Backend Engineer? Types, Skills, and Code Smells

This article examines the various programmer archetypes, outlines essential basic, advanced, and auxiliary abilities for backend engineers—including security, performance, architecture, and communication skills—highlights common code smells with examples, and offers concluding advice for continuous self‑improvement.

code qualitydeveloper skillssoftware engineering
0 likes · 6 min read
What Makes a Great Backend Engineer? Types, Skills, and Code Smells
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 7, 2018 · Fundamentals

Master Refactoring: When to Extract, Inline, and Replace Methods

This article explains key refactoring techniques—Extract Method, Inline Method, Inline Temp, Introduce Explaining Variable, Split Temporary Variable, Remove Assignments to Parameters, and Replace Method with Method Object—showing when to apply each, why they improve code clarity, and providing Java code examples for each transformation.

code qualityextract-methodinline method
0 likes · 13 min read
Master Refactoring: When to Extract, Inline, and Replace Methods