Tagged articles
code-quality
21 articles · Page 1 of 1
This article explores how mission‑critical backend engineers shift from sprint‑focused development to designing systems for the worst‑case scenario, outlining three hard rules, four practical habits, concrete code examples, and actionable steps for ordinary teams to improve reliability and safety.
Backendbest-practicescode-quality
0 likes · 12 min read

PHP 8.5 introduces the native array_first() and array_last() functions, offering a safe, pointer‑free way to retrieve the first or last element of any array, improving readability, reducing bugs, and aligning PHP with modern language practices for developers and frameworks alike.
BackendPHPPHP 8.5
0 likes · 5 min read

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.
code-qualitypep8project structure
0 likes · 6 min read

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.
BackendJavacode-quality
0 likes · 13 min read

This guide explains PHP 8's named arguments feature, showing how they improve code readability, allow skipping optional parameters, make argument order irrelevant, and provide practical examples and best‑practice recommendations for writing clearer, more maintainable backend code.
Backendbest-practicescode-quality
0 likes · 7 min read

This article explains the concept of code refactoring, its goals, timing, challenges, common scenarios, and practical techniques—including parameter extraction, guard clauses, strategy patterns, and IDE tools—providing Java examples and recommendations for improving code quality.
IDEcode-qualitydesign-patterns
0 likes · 23 min read

This article provides a comprehensive guide to Java development fundamentals, covering naming conventions, comment quality, class and method definitions, object design patterns, and performance considerations such as immutable types, sealed classes, and the Valhalla project, with practical code examples and best‑practice recommendations.
JavaJava 17best-practices
0 likes · 31 min read

Despite reading best‑practice guides, developers often produce low‑quality code because tight deadlines, shifting requirements, low motivation, poor team standards, accumulating technical debt, insufficient automation, and delayed feedback create obstacles, but the article shows eight concrete challenges and practical solutions—ranging from better planning to tooling and mentorship—to bridge the gap.
agile developmentbest-practicescode-quality
0 likes · 13 min read

Tencent’s team successfully took over a 93‑service legacy content architecture, stabilizing it by building comprehensive monitoring, creating detailed code walkthrough documentation, fixing critical bugs, and streamlining R&D processes, which cut daily alerts from 159 to zero, reduced business incidents, and lowered on‑call staffing dramatically.
CI/CDSystem Monitoringalert governance
0 likes · 24 min read

Software teams often grow to handle rising workload, yet adding features makes development exponentially harder because essential complexity dominates, hidden feature coupling and inevitable code decay increase system intricacy, and only refactoring, anti‑corrosion practices, and thorough documentation can mitigate the resulting business system complexity.
agile developmentcode-qualitycoupling
0 likes · 31 min read

This tutorial demonstrates how to set up a Python project, install and run Pylint, interpret its messages, and improve code quality by adding docstrings, fixing formatting issues, and configuring suppression, while also covering linting on single files, directories, and common pitfalls.
code-qualitylintingpep8
0 likes · 11 min read

This article explains why Java code in Android projects becomes corrupted over time, walks through the build pipeline from source to APK, discusses Java 8 support, DX/D8 differences, Java resources, and presents a comprehensive set of detection and governance practices—including thread, sensitive‑API, image‑library, incompatibility, same‑name class, hard‑coded text, and illegal resource controls—to keep Android codebases healthy.
D8DXJava
0 likes · 21 min read

The article argues that Python 3.9’s recent additions—static type checking, variable annotations, extended operators, new string methods, and other syntactic sugar—contradict the language’s original philosophy of simplicity and elegance, turning Python into a heavier, less readable tool for developers.
Python 3.9+code-qualitylanguage design
0 likes · 14 min read


政采云技术Jan 26, 2021 · Frontend Development
This article explains why clear, meaningful naming is essential for maintainable front‑end code, showcases common bad naming patterns, and provides practical naming rules, conventions, tooling tips, and examples for JavaScript, CSS, and project structures.
JavaScriptbest-practicescode-quality
0 likes · 11 min read

This article explains why consistent Git commit messages matter, presents a detailed commit‑message format with type, scope and subject, shows how to enforce the standard using a webhook that validates messages, monitors large commits, and provides useful statistics for the development team.
Commit MessageWebhookWorkflow
0 likes · 11 min read

This article explains why clear, standardized Git commit messages are essential, outlines a practical commit format with required types, optional scopes, and concise subjects, and describes a webhook‑based monitoring service that enforces the rules, improves traceability, and enables automated changelog generation.
Commit MessageGitWebhook
0 likes · 10 min read

This article explains why coding standards are essential, introduces PMD and Alibaba's p3c plugin, and provides a detailed, code‑rich tutorial on designing, implementing, testing, and packaging custom Java static‑analysis rules to enforce @RequestMapping conventions.
GradleJavaMaven
0 likes · 11 min read

This article guides developers on enhancing PHP code quality by setting up an end‑to‑end and integration testing environment with Behat, covering installation, build configuration, feature writing, step implementation, test execution, and continuous integration integration.
PHINGPHPbehat
0 likes · 7 min read

This article guides you through setting up Behat for PHP, showing how to install the tool, write feature files, configure build targets, implement step definitions, and run comprehensive integration tests to dramatically improve code quality.
BDDbehatcode-quality
0 likes · 8 min read

This article explains how Python’s flexible typing can introduce subtle bugs, demonstrates the pitfalls with examples, and introduces Type Hints, Variable Annotations, docstrings, and Java‑Bean‑style solutions—including static checking with mypy—to improve code readability and reliability.
code-qualitymypystatic typing
0 likes · 5 min read

The article examines common pitfalls when retrieving a day's orders in MySQL, explains why using BETWEEN can be ambiguous, shows how timestamp precision and appending .999 affect results, and argues for clear, maintainable SQL and test‑code practices.
BETWEENJUnitcode-quality
0 likes · 8 min read
