Tagged articles

best practices

1326 articles · Page 5 of 14
php Courses
php Courses
Nov 5, 2024 · Backend Development

Five Essential Rules for Writing Clean PHP Code

This article presents five fundamental guidelines—including clear naming, single‑responsibility functions, consistent style, SOLID principles, and self‑documenting code—along with PHP code examples to help developers produce more readable, maintainable, and extensible applications.

OOPPHPSOLID
0 likes · 4 min read
Five Essential Rules for Writing Clean PHP Code
FunTester
FunTester
Oct 31, 2024 · Backend Development

Understanding Java ExecutorService: Core Concepts, Thread Pools, and Practical Usage

This article explains how Java's ExecutorService abstracts and simplifies asynchronous task execution, covering core features, thread‑pool configurations, task submission methods, future management, shutdown procedures, rejection policies, and real‑world code examples for network requests, image processing, and background tasks.

AsynchronousThreadPoolbest practices
0 likes · 20 min read
Understanding Java ExecutorService: Core Concepts, Thread Pools, and Practical Usage
JD Cloud Developers
JD Cloud Developers
Oct 29, 2024 · Fundamentals

Why Simplicity Wins: Turning Complex Code and Design into Clean Solutions

The article explores how software engineers can reduce both essential and accidental complexity by unifying terminology, eliminating side‑effects, applying the KISS principle, and adopting clear architectural and API designs, ultimately delivering more maintainable and understandable systems.

KISS principleSoftware Designarchitecture
0 likes · 23 min read
Why Simplicity Wins: Turning Complex Code and Design into Clean Solutions
Test Development Learning Exchange
Test Development Learning Exchange
Oct 26, 2024 · Fundamentals

Master 24 Essential Python Tricks to Write Cleaner, Faster Code

This comprehensive guide walks you through 24 powerful Python techniques—from list, dictionary, and set comprehensions to advanced modules like itertools, functools, and asyncio—showing concise syntax, practical examples, and best practices that help you write more efficient, readable, and maintainable code.

Advanced TechniquesComprehensionsModules
0 likes · 14 min read
Master 24 Essential Python Tricks to Write Cleaner, Faster Code
Su San Talks Tech
Su San Talks Tech
Oct 24, 2024 · Backend Development

Mastering Java Exception Handling: 13 Best Practices for Cleaner Code

This guide walks through common pitfalls and 13 practical best‑practice techniques for handling exceptions in Java, covering everything from avoiding ignored errors and using global handlers to proper logging, try‑with‑resources, custom exceptions, and avoiding exception‑driven control flow.

Exception HandlingSpringBootbest practices
0 likes · 13 min read
Mastering Java Exception Handling: 13 Best Practices for Cleaner Code
Architect's Guide
Architect's Guide
Oct 19, 2024 · Backend Development

Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code

This article presents fourteen practical Java Spring development best‑practice tips—including using @ConfigurationProperties, Lombok's @RequiredArgsConstructor, modularizing code, throwing exceptions instead of returning error codes, minimizing unnecessary database calls, avoiding null returns, reducing if‑else chains, and leveraging IDE features—to help developers write cleaner, more maintainable backend code.

ConfigurationLombokSpring
0 likes · 7 min read
Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code
php Courses
php Courses
Oct 17, 2024 · Backend Development

Common Mistakes to Avoid When Using Closures for Functional Programming in PHP

This article explains functional programming in PHP, highlights five typical closure mistakes such as incorrect declaration, reliance on globals, mutable variable modification, unpredictable side effects, and recursion misuse, and provides corrected code examples and best‑practice guidelines.

Functional ProgrammingPHPbackend development
0 likes · 5 min read
Common Mistakes to Avoid When Using Closures for Functional Programming in PHP
IT Architects Alliance
IT Architects Alliance
Oct 14, 2024 · Frontend Development

Jamstack Explained: Key Benefits, Challenges, and Best Practices

This article explores the Jamstack architecture—its core concepts of JavaScript, APIs, and markup, the essential tooling like static site generators and headless CMS, and examines its performance, security, scalability benefits alongside challenges such as dynamic content handling, build times, and SEO, offering practical best‑practice recommendations.

Frontend ArchitectureJamstackStatic Site Generators
0 likes · 10 min read
Jamstack Explained: Key Benefits, Challenges, and Best Practices
21CTO
21CTO
Oct 11, 2024 · Fundamentals

From Messy to Clean: Transform Your Code with Simple Best Practices

This article shares a developer’s journey from tangled, hard‑to‑read code to clean, maintainable software, illustrating how meaningful naming, PEP 8 compliance, static typing, small functions, avoiding magic numbers, and the DRY principle can dramatically improve code quality.

DRYbest practicesclean code
0 likes · 9 min read
From Messy to Clean: Transform Your Code with Simple Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2024 · Frontend Development

Vue.js and Element‑plus Code Style and Naming Conventions

This article presents comprehensive Vue.js and Element‑plus coding standards, covering enum naming, directory and file naming conventions, component file structure, attribute and directive usage, boolean, function, class, constant, and enum naming rules, emphasizing consistency to improve readability and maintainability.

Code styleComponent ArchitectureJavaScript
0 likes · 15 min read
Vue.js and Element‑plus Code Style and Naming Conventions
Programmer1970
Programmer1970
Oct 7, 2024 · Backend Development

Mastering MyBatis Plugins: Features, Mechanics, Real‑World Use Cases & Best Practices

This article explains MyBatis plugins’ core capabilities—SQL rewriting, logging, performance monitoring, transaction enhancement, and result handling—detailing their interception points, the Java dynamic‑proxy implementation, a complete pagination plugin example, typical application scenarios, and practical best‑practice recommendations for developers.

Dynamic ProxyMyBatisSQL Interception
0 likes · 11 min read
Mastering MyBatis Plugins: Features, Mechanics, Real‑World Use Cases & Best Practices
Liangxu Linux
Liangxu Linux
Oct 1, 2024 · Operations

10 Proven Practices to Prevent System Failures for Ops Teams

This guide outlines ten practical strategies—including rollback testing, safe handling of destructive commands, prompt customization, robust backup and verification, production environment discipline, thorough handover, proactive monitoring, cautious auto‑failover, meticulous execution, and simplicity—to help operations engineers dramatically reduce system outages and improve reliability.

BackupFailoverOperations
0 likes · 17 min read
10 Proven Practices to Prevent System Failures for Ops Teams
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Sep 30, 2024 · Cloud Native

Best Practices for High Availability and Stability in Alibaba Cloud Container Service for Kubernetes (ACK)

This article presents a comprehensive overview of high‑availability design patterns and best‑practice recommendations for Alibaba Cloud Container Service for Kubernetes (ACK), covering common error scenarios, single‑cluster and multi‑cluster architectures, workload resilience, monitoring, and real‑world case studies.

ACKCloud NativeHigh Availability
0 likes · 13 min read
Best Practices for High Availability and Stability in Alibaba Cloud Container Service for Kubernetes (ACK)
Architecture Digest
Architecture Digest
Sep 30, 2024 · Fundamentals

Best Practices for Writing Application Logs and Understanding Log Levels

This article explains why logging is essential for software maintenance, outlines the purposes, readability, performance, disk‑space and timeliness considerations, describes Log4j components and log‑level hierarchy, and provides concrete code examples for TRACE, DEBUG, INFO, WARN and ERROR logging.

best practiceslog levelslog4j
0 likes · 16 min read
Best Practices for Writing Application Logs and Understanding Log Levels
Architect
Architect
Sep 29, 2024 · Fundamentals

What Makes Good Code? Standards and Characteristics for Quality Software

The article explores the criteria that define good code—feasibility, timeliness, adaptability, efficiency, and a comprehensive set of quality attributes—drawing on Gerald Weinberg’s insights and offering practical guidelines for writing maintainable, readable, and robust software.

best practicescode qualityprogramming standards
0 likes · 11 min read
What Makes Good Code? Standards and Characteristics for Quality Software
Model Perspective
Model Perspective
Sep 15, 2024 · Fundamentals

Mastering Data Visualization: 9 Essential Principles for Clear, Impactful Charts

Data visualization transforms raw data into intuitive graphics, and this guide outlines nine essential principles—including simplicity, appropriate chart selection, accuracy, avoiding overload, effective annotations, color use, consistency, audience focus, and storytelling—to help readers create clear, compelling visualizations for business, research, and decision‑making.

Data Storytellingbest practiceschart design
0 likes · 12 min read
Mastering Data Visualization: 9 Essential Principles for Clear, Impactful Charts
21CTO
21CTO
Sep 14, 2024 · Backend Development

Master Python Logging: Best Practices, Advanced Techniques & Performance Tips

This comprehensive guide explains Python's built‑in logging module, covering basic setup, log levels, handlers, formatters, advanced configurations, performance optimizations, and best‑practice recommendations to help developers create clear, efficient, and maintainable logs for any application.

ConfigurationDebuggingbest practices
0 likes · 18 min read
Master Python Logging: Best Practices, Advanced Techniques & Performance Tips
Alibaba Cloud Native
Alibaba Cloud Native
Sep 12, 2024 · Backend Development

How to Build a High‑Quality Enterprise Codebase for AI‑Powered Code Completion

This guide explains how to prepare a clean, well‑documented enterprise code repository, outlines upload restrictions, annotation standards, naming conventions, and step‑by‑step usage of the Tongyi Lingma IDE plugin for both backend and frontend development scenarios, plus troubleshooting tips.

AI coding assistantbackend developmentbest practices
0 likes · 10 min read
How to Build a High‑Quality Enterprise Codebase for AI‑Powered Code Completion
Java Tech Enthusiast
Java Tech Enthusiast
Sep 10, 2024 · Frontend Development

Prefer const over let in modern JavaScript/TypeScript

Modern JavaScript/TypeScript development should default to using const instead of let, because const enforces immutability, improves readability, and avoids bugs, while let is reserved only for truly mutable cases such as loop counters, with tools like ESLint’s prefer‑const rule helping enforce this practice.

FrontendTypeScriptbest practices
0 likes · 7 min read
Prefer const over let in modern JavaScript/TypeScript
php Courses
php Courses
Sep 10, 2024 · Backend Development

Building Dynamic Interactive Websites with PHP: Fundamentals, Frameworks, Best Practices, and Future Trends

This article explains why dynamic, interactive websites are essential in the digital age and provides a comprehensive guide to using PHP—including core concepts, popular frameworks, development best practices, real‑world case studies, and emerging trends such as AI integration, PWA support, and serverless architectures.

Dynamic WebsitesWeb Frameworksbest practices
0 likes · 10 min read
Building Dynamic Interactive Websites with PHP: Fundamentals, Frameworks, Best Practices, and Future Trends
Top Architect
Top Architect
Sep 6, 2024 · Backend Development

14 Java Backend Code‑Optimization Tips from a Senior Architect

This article presents fourteen practical Java backend optimization techniques—including configuration‑file management, Lombok’s @RequiredArgsConstructor, modular code design, exception handling, reducing DB queries, avoiding null returns, minimizing if‑else, slimming controllers, IDE shortcuts, source‑code reading, design patterns, and efficient collections—each illustrated with clear code examples.

Design PatternsLombokSpring
0 likes · 10 min read
14 Java Backend Code‑Optimization Tips from a Senior Architect
JD Tech Talk
JD Tech Talk
Sep 6, 2024 · Fundamentals

Overview of Software Complexity and Strategies for Reducing Business System Complexity

The article explains the concept and measurement of software complexity, its impact on development cost and stability, common causes in business systems, and presents a set of architectural, coding, and configuration practices—including domain splitting, layered design, clear commenting, and configurable rules—to effectively reduce and manage complexity.

Code RefactoringConfigurationDomain-Driven Design
0 likes · 12 min read
Overview of Software Complexity and Strategies for Reducing Business System Complexity
21CTO
21CTO
Sep 2, 2024 · Fundamentals

6 Essential Python Coding Habits Every Beginner Should Master

This article outlines six practical habits—following PEP 8, using the latest Python version, commenting code, employing linters, leveraging built‑in functions and libraries, and promptly fixing issues—to help new Python developers write clean, maintainable, and error‑free code throughout their careers.

PEP 8Pythonbest practices
0 likes · 10 min read
6 Essential Python Coding Habits Every Beginner Should Master
php Courses
php Courses
Aug 26, 2024 · Backend Development

Avoid Hard‑Coded Array Indexes in PHP: Safer Alternatives

This article explains why using hard‑coded array indexes like $arr[0] in PHP can cause crashes, maintenance headaches, and unreadable code, and introduces safer built‑in functions such as current(), reset(), array_shift() and Laravel's Arr::first() with their pros and cons.

best practiceslaravel
0 likes · 8 min read
Avoid Hard‑Coded Array Indexes in PHP: Safer Alternatives
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 23, 2024 · Artificial Intelligence

Mastering Prompt Engineering: Advanced Techniques from Top AI Labs

This comprehensive guide examines cutting‑edge prompt‑engineering strategies—covering clear instruction design, role‑playing, separators, step‑by‑step workflows, external tools, systematic testing, and case studies from Anthropic, Google, and practical Img2Code applications—to help developers achieve more accurate and powerful interactions with large language models.

AI developmentLarge Language ModelsModel Evaluation
0 likes · 21 min read
Mastering Prompt Engineering: Advanced Techniques from Top AI Labs
Architecture Development Notes
Architecture Development Notes
Aug 19, 2024 · Cloud Native

10 Essential Docker Best Practices to Boost Efficiency and Security

This guide presents ten essential Docker best practices—from choosing official images and minimizing layers to leveraging multi‑stage builds, .dockerignore, Compose, volumes, resource constraints, security, monitoring, and CI/CD automation—helping developers create efficient, secure, and maintainable containerized applications.

CI/CDDevOpsDocker
0 likes · 14 min read
10 Essential Docker Best Practices to Boost Efficiency and Security
Architect's Guide
Architect's Guide
Aug 14, 2024 · Backend Development

Key Considerations and Best Practices for Using Spring Event in Production

This article explains critical pitfalls, proper shutdown handling, event loss during startup, suitable business scenarios, reliability guarantees, and best‑practice patterns for employing Spring Event in high‑traffic backend systems, providing concrete code examples and operational recommendations.

EventMicroservicesSpring
0 likes · 11 min read
Key Considerations and Best Practices for Using Spring Event in Production
Software Development Quality
Software Development Quality
Aug 14, 2024 · Fundamentals

Mastering Code Reviews: Purpose, Process, Tools, and Best Practices

Code reviews are essential for ensuring quality, readability, security, and team collaboration; this guide explains their objectives, importance, standards, step‑by‑step workflow, recommended tools, efficiency tips, and provides practical report templates to help teams conduct effective reviews.

Code ReviewToolingbest practices
0 likes · 17 min read
Mastering Code Reviews: Purpose, Process, Tools, and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Aug 9, 2024 · Backend Development

Common Thread‑Pool Pitfalls and Best Practices in Java Backend Development

This article analyzes typical thread‑pool misuses that caused a production outage, explains why tasks may slow down under load, and provides concrete recommendations such as pagination, timeout handling, proper pool sizing, avoiding shared pools, ThreadLocal cleanup, and cautious use of parallel streams.

ThreadPoolbackendbest practices
0 likes · 14 min read
Common Thread‑Pool Pitfalls and Best Practices in Java Backend Development
FunTester
FunTester
Aug 9, 2024 · Industry Insights

14 Hard‑Earned Lessons for Starting Your Automation Testing Journey

This article shares fourteen practical lessons learned from real‑world automation testing, covering when to automate, scope definition, tool selection, team coordination, ROI considerations, open‑source pitfalls, code reuse, and the balance between automated and manual testing.

PostmanSoftware testingTest Automation
0 likes · 10 min read
14 Hard‑Earned Lessons for Starting Your Automation Testing Journey
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 4, 2024 · Backend Development

Understanding Java Memory Leaks and How to Prevent Them

This article explains what memory leaks are in Java, outlines common causes such as unreleased resources, static collections, misuse of ThreadLocal, improper variable scope, inner‑class references and off‑heap memory, and provides practical solutions and best‑practice recommendations to avoid them.

JVMThreadLocalbest practices
0 likes · 9 min read
Understanding Java Memory Leaks and How to Prevent Them
Top Architect
Top Architect
Aug 2, 2024 · Backend Development

14 Practical Tips for Optimizing Java Backend Code

This article presents fourteen actionable techniques for improving Java backend code quality, including using configuration files, Lombok's @RequiredArgsConstructor, modular design, exception handling, reducing unnecessary database calls, avoiding null returns, simplifying if‑else logic, minimizing controller logic, leveraging IDE features, reading source code, applying design patterns, embracing new knowledge, mastering fundamentals, and efficiently checking element existence, supplemented with concrete code examples.

LombokSpringbest practices
0 likes · 9 min read
14 Practical Tips for Optimizing Java Backend Code
Java Tech Enthusiast
Java Tech Enthusiast
Jul 30, 2024 · Fundamentals

Best Practices for Clean Code Naming and Structure

Clean code demands readable, extensible structures and precise, unambiguous naming—each class, method, and variable should convey a single responsibility, avoid duplication, and follow consistent conventions, enabling easy testing, maintenance, and team collaboration while preventing the productivity‑draining chaos of poorly named, tangled code.

Software Engineeringbest practicesclean code
0 likes · 18 min read
Best Practices for Clean Code Naming and Structure
Liangxu Linux
Liangxu Linux
Jul 28, 2024 · Cloud Native

Avoid These 10 Common Kubernetes Mistakes to Boost Reliability

This article outlines the most frequent Kubernetes pitfalls—such as missing resource requests, omitted health checks, using the :latest tag, over‑privileged containers, insufficient monitoring, default namespace misuse, weak security settings, absent PodDisruptionBudgets, lack of pod anti‑affinity, and improper load‑balancing—and provides concrete commands, YAML examples, and best‑practice recommendations to prevent them.

AutoscalingKubernetesMonitoring
0 likes · 13 min read
Avoid These 10 Common Kubernetes Mistakes to Boost Reliability
JD Tech Talk
JD Tech Talk
Jul 26, 2024 · Fundamentals

Defensive Programming: Concepts, Core Principles, and Practical Cases

This article introduces defensive programming, explains its fundamental concepts and core principles such as risk identification and input validation, and demonstrates practical applications through multiple Java code examples covering pagination, loop prevention, exception handling, boundary checks, and assertions to improve software robustness.

Software Robustnessbest practicescode quality
0 likes · 13 min read
Defensive Programming: Concepts, Core Principles, and Practical Cases
Test Development Learning Exchange
Test Development Learning Exchange
Jul 25, 2024 · Fundamentals

HttpRunner Learning Roadmap: From Installation to Advanced Automation

This guide outlines a four‑stage learning path for HttpRunner, covering installation, basic syntax, parameterization, complex requests, asynchronous testing, environment management, reporting, CI integration, performance testing, and best‑practice project implementation to enable efficient API automation.

Performance TestingTest Automationbest practices
0 likes · 4 min read
HttpRunner Learning Roadmap: From Installation to Advanced Automation
Top Architect
Top Architect
Jul 24, 2024 · Databases

Top 20 SQL Optimization Techniques for Better Query Performance

This article presents twenty practical SQL optimization techniques—including index usage, selective column queries, avoiding functions in WHERE clauses, replacing subqueries with joins, limiting result sets, using EXISTS, batch inserts, covering indexes, proper data types, pagination, and transaction management—to significantly improve query performance and database efficiency.

SQLbest practicesdatabase optimization
0 likes · 11 min read
Top 20 SQL Optimization Techniques for Better Query Performance
Su San Talks Tech
Su San Talks Tech
Jul 21, 2024 · Backend Development

8 Effective Retry Strategies for Java APIs

This article presents eight practical retry mechanisms for Java applications—including loop, recursion, HttpClient configuration, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based retries—along with code examples, configuration snippets, and best‑practice guidelines to help developers handle transient network failures reliably.

HttpClientResilience4jSpring
0 likes · 17 min read
8 Effective Retry Strategies for Java APIs
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2024 · Fundamentals

Common Mistakes in Data Visualization and How to Avoid Them

This article outlines eight typical data‑visualization errors—such as misleading color contrast, overly dense charts, omitted baselines, deceptive labels, wrong chart types, spurious correlations, selective data highlighting, and improper 3D usage—and provides practical guidance on how to prevent each mistake to create clear, accurate visual stories.

best practiceschart designmistakes
0 likes · 9 min read
Common Mistakes in Data Visualization and How to Avoid Them
The Dominant Programmer
The Dominant Programmer
Jul 19, 2024 · Databases

Writing High‑Quality SQL: Practical MySQL Optimization Tips

To avoid common MySQL pitfalls, the article compiles practical SQL writing guidelines—selecting specific columns instead of *, using LIMIT 1, avoiding OR in WHERE, optimizing pagination, handling LIKE patterns, minimizing redundant indexes, preferring INNER JOIN, and leveraging covering indexes and EXPLAIN for efficient query execution.

DatabaseIndexingMySQL
0 likes · 18 min read
Writing High‑Quality SQL: Practical MySQL Optimization Tips
JD Tech Talk
JD Tech Talk
Jul 18, 2024 · Fundamentals

Effective Code Review Practices: Goals, Principles, Steps, and Real‑World Cases

This article explains the importance of code review, outlines its core objectives and basic principles, describes practical steps and a detailed checklist, shares several real‑world case studies with before‑and‑after code snippets, and discusses the benefits, metrics, and future AI‑assisted enhancements.

Code ReviewSoftware EngineeringStatic Analysis
0 likes · 18 min read
Effective Code Review Practices: Goals, Principles, Steps, and Real‑World Cases
Efficient Ops
Efficient Ops
Jul 14, 2024 · Databases

10 Essential MySQL Table Naming Rules Every Engineer Should Follow

This article presents Alibaba's concise 10‑point MySQL schema standard, covering boolean field naming, lowercase identifiers, singular table names, reserved word avoidance, index naming conventions, decimal usage, fixed‑length char, variable‑length varchar/text, mandatory audit fields, and the prohibition of physical deletions, offering practical guidance for clean database design.

Database DesignMySQLSchema Guidelines
0 likes · 5 min read
10 Essential MySQL Table Naming Rules Every Engineer Should Follow
FunTester
FunTester
Jul 12, 2024 · Product Management

How A/B Testing Can Supercharge Your Product’s Conversion and User Experience

This article explains the fundamentals of A/B testing, outlines its key benefits such as data‑driven decisions, improved user experience and higher conversion rates, and provides practical best‑practice guidelines, essential tools, and required skills for successful implementation.

A/B testingConversion OptimizationData-driven Decision
0 likes · 11 min read
How A/B Testing Can Supercharge Your Product’s Conversion and User Experience
Code Mala Tang
Code Mala Tang
Jul 10, 2024 · Frontend Development

Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects

This comprehensive guide walks you through initializing a TypeScript project, explains core and advanced type features, shows how to integrate third‑party libraries, and provides real‑world examples for React and Node.js, while offering best‑practice tips to boost code quality and performance.

Node.jsReActTypeScript
0 likes · 11 min read
Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects
Python Programming Learning Circle
Python Programming Learning Circle
Jul 5, 2024 · Fundamentals

Common Mistakes in Data Visualization and How to Avoid Them

Data visualization often suffers from errors such as misleading color contrast, overly dense charts, omitted baselines, deceptive labeling, inappropriate chart types, false correlations, selective data emphasis, misuse of 3D graphics, and unnecessary visualizations, and this article outlines eight typical pitfalls and practical ways to prevent them.

Data Storytellingbest practiceschart design
0 likes · 7 min read
Common Mistakes in Data Visualization and How to Avoid Them
php Courses
php Courses
Jul 1, 2024 · Information Security

PHP Security Best Practices: Protecting Applications from Common Vulnerabilities

This article explains why PHP security is critical and outlines five common PHP vulnerabilities—SQL injection, XSS, CSRF, remote code execution, and file inclusion—along with comprehensive best‑practice recommendations such as input validation, secure password storage, session management, error handling, and continuous learning.

Input ValidationVulnerabilitiesbest practices
0 likes · 18 min read
PHP Security Best Practices: Protecting Applications from Common Vulnerabilities
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 24, 2024 · Backend Development

10 Java 17 Best Practices for Cleaner, Safer Code

This article presents ten practical Java 17 tips—ranging from using Optional and String.valueOf() to leveraging Arrays.copyOf, isEmpty(), pre‑compiled regex, and generics—to avoid common pitfalls, improve performance, and write more readable and robust backend code.

Java 17best practicescode quality
0 likes · 10 min read
10 Java 17 Best Practices for Cleaner, Safer Code
Sohu Tech Products
Sohu Tech Products
Jun 20, 2024 · Fundamentals

Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture

This article examines the role of UseCase in Android's modern architecture, clarifies its responsibilities, demonstrates proper naming, thread‑safety, signature design, referential transparency, and interface abstraction, and provides concrete Kotlin examples of both incorrect and correct implementations.

AndroidClean ArchitectureDomain Layer
0 likes · 10 min read
Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 14, 2024 · Backend Development

Master Java Logging: 12 Essential Practices for Clean, Efficient Logs

This article presents twelve practical guidelines for Java logging, covering interface‑layer usage, avoiding separator lines, preventing logging‑induced exceptions, leveraging Fastjson features, preserving exception stacks, limiting message length, merging stack traces, skipping costly placeholders, avoiding console output, discarding redundant utilities, and adhering to Alibaba's logging specification.

best practiceserror handlingperformance
0 likes · 11 min read
Master Java Logging: 12 Essential Practices for Clean, Efficient Logs
dbaplus Community
dbaplus Community
Jun 11, 2024 · Cloud Native

13 Essential Kubernetes Tricks to Boost Efficiency and Security

This article presents thirteen practical Kubernetes techniques—including graceful shutdown with PreStop hooks, automatic key rotation, temporary debugging containers, custom‑metric HPA, init containers, node affinity, taints and tolerations, pod priority and preemption, ConfigMaps and Secrets, direct API usage, CRDs, and more—each explained with concepts, use‑case scenarios, YAML examples, and important considerations.

Kubernetesbest practicescontainers
0 likes · 17 min read
13 Essential Kubernetes Tricks to Boost Efficiency and Security
Python Programming Learning Circle
Python Programming Learning Circle
Jun 11, 2024 · Databases

SQL Best Practices: Avoid Common Mistakes and Write Efficient Queries

This article presents a reverse‑analysis of common SQL pitfalls—such as ambiguous column names, selecting all columns, unnecessary joins, missing WHERE clauses, lack of ORDER BY, unclear aliases, absent error handling, redundant subqueries, and missing comments—and provides clear "Don’t" and "Do" examples with code to help you write clean, optimized, and reliable SQL statements.

Query Optimizationbest practiceserror handling
0 likes · 7 min read
SQL Best Practices: Avoid Common Mistakes and Write Efficient Queries
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 6, 2024 · Frontend Development

Common JavaScript Pitfalls and Best Practices for Frontend Development

This article examines frequent JavaScript errors such as improper data handling, unsafe destructuring, unreliable default values, misuse of array methods, object method calls, async/await error handling, JSON parsing, mutable references, concurrent async operations, and over‑defensive coding, and provides concise ES6‑compatible refactorings to prevent white‑screen crashes and improve robustness.

best practiceserror handlinges6
0 likes · 10 min read
Common JavaScript Pitfalls and Best Practices for Frontend Development
DevOps
DevOps
Jun 3, 2024 · Fundamentals

Comprehensive Git Best Practices and Common Pitfalls

This guide explains what Git is and isn’t, recommends proper tools, outlines effective branching strategies, compares merge and rebase, advises on conflict resolution, fetch‑instead‑of‑pull, atomic commits, LFS usage, and highlights Git’s limitations to help developers adopt optimal version‑control workflows.

Gitbest practicesbranching
0 likes · 24 min read
Comprehensive Git Best Practices and Common Pitfalls
DevOps Cloud Academy
DevOps Cloud Academy
Jun 3, 2024 · Fundamentals

Understanding NULL: The Silent Killer in Code and How to Mitigate Its Risks

NULL, the ubiquitous placeholder for missing values, can silently introduce bugs, crashes, and data inconsistencies across languages and databases, but by understanding its pitfalls and applying strategies like optional types, default values, Null Object patterns, and proper database constraints, developers can significantly improve code reliability.

DatabaseNULLOptional
0 likes · 10 min read
Understanding NULL: The Silent Killer in Code and How to Mitigate Its Risks
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
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
May 31, 2024 · Cloud Native

Best Practices for Deploying AI Model Inference on Knative

This guide explains how to efficiently deploy AI model inference services on Knative by externalizing model data, using Fluid for accelerated loading, configuring secrets, ImageCache, graceful shutdown, probes, autoscaling parameters, mixed ECS/ECI resources, shared GPU scheduling, and observability features to achieve fast scaling, low cost, and high elasticity.

AI Model InferenceAutoscalingCloud Native
0 likes · 19 min read
Best Practices for Deploying AI Model Inference on Knative
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 27, 2024 · Frontend Development

Why Mastering CSS Selectors, Pseudo‑Classes, and Pseudo‑Elements Is Essential for Frontend Developers

This article highlights the critical role of mastering CSS fundamentals—especially selectors, pseudo‑classes, pseudo‑elements, attribute and combinator selectors—by examining common coding mistakes, offering alternative pure‑CSS solutions, and emphasizing understanding over memorization for robust frontend development.

CSSSelectorsbest practices
0 likes · 14 min read
Why Mastering CSS Selectors, Pseudo‑Classes, and Pseudo‑Elements Is Essential for Frontend Developers
Java Tech Enthusiast
Java Tech Enthusiast
May 26, 2024 · Fundamentals

Clean Code Naming Guidelines

Effective clean‑code practices require precise, unambiguous naming for variables, methods, classes, and packages, because clear identifiers convey purpose, avoid confusion, simplify maintenance, reduce bugs, and support readability, extensibility, and testability, ultimately preventing technical debt and improving team productivity.

Software Engineeringbest practicesclean code
0 likes · 17 min read
Clean Code Naming Guidelines
MaGe Linux Operations
MaGe Linux Operations
May 25, 2024 · Cloud Native

Avoid These Common Kubernetes Pitfalls to Boost Reliability and Security

This article outlines frequent Kubernetes mistakes—such as missing resource requests, skipping health checks, using the latest image tag, over‑privileged containers, insufficient monitoring, default namespace misuse, and lack of security settings—and provides practical guidance and code examples to prevent them.

Kubernetesbest practicessecurity
0 likes · 13 min read
Avoid These Common Kubernetes Pitfalls to Boost Reliability and Security
Python Programming Learning Circle
Python Programming Learning Circle
May 17, 2024 · Databases

SQL Optimization Tips and Best Practices

This article presents a comprehensive collection of MySQL performance guidelines, covering query writing, index usage, join strategies, data types, batch operations, and execution plan analysis to help developers write faster and more reliable SQL statements.

OptimizationSQLbest practices
0 likes · 19 min read
SQL Optimization Tips and Best Practices
Software Development Quality
Software Development Quality
May 17, 2024 · Fundamentals

12 Essential Code Review Standards Every Developer Should Follow

This guide outlines twelve critical code review criteria—including correctness, readability, maintainability, security, performance, testing coverage, documentation, exception handling, duplication avoidance, compatibility, and architectural design—to help developers produce high‑quality, robust software.

Code Reviewbest practicessoftware quality
0 likes · 5 min read
12 Essential Code Review Standards Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
May 8, 2024 · Fundamentals

Master Go Naming: Consistent, Concise, and Clear Conventions

This article explains how to choose consistent, short, and precise names in Go, covering general naming principles, the first rule about declaration‑use distance, CamelCase style, local variables, parameters, return values, receivers, exported identifiers, interface naming, error naming, package naming, import paths, and useful standard‑library examples.

Code styleGoProgramming Fundamentals
0 likes · 6 min read
Master Go Naming: Consistent, Concise, and Clear Conventions
Radish, Keep Going!
Radish, Keep Going!
May 8, 2024 · Fundamentals

Why Design Docs Are Essential for Software Engineering Success

This article explains how Google uses informal design documents to capture high‑level implementation strategies, trade‑offs, and consensus, outlining their structure, lifecycle, and when they add value versus when they become unnecessary overhead for software projects.

DocumentationSoftware Engineeringbest practices
0 likes · 15 min read
Why Design Docs Are Essential for Software Engineering Success
dbaplus Community
dbaplus Community
May 6, 2024 · Cloud Native

Avoid These 11 Common Kubernetes Mistakes That Hurt Performance and Security

This article reveals the most frequent Kubernetes pitfalls—from missing resource requests and health checks to over‑privileged containers and lack of monitoring—provides concrete examples, code snippets, and practical recommendations to help you configure a stable, secure, and efficient cloud‑native environment.

Kubernetesbest practiceshealth checks
0 likes · 14 min read
Avoid These 11 Common Kubernetes Mistakes That Hurt Performance and Security
Python Programming Learning Circle
Python Programming Learning Circle
Apr 20, 2024 · Fundamentals

20 Practical Tips for Effective Data Visualization

These 20 practical recommendations guide you in selecting appropriate chart types, setting correct axes, avoiding misleading designs, improving readability, applying suitable color schemes, ensuring accessibility, and choosing the right visualization libraries, helping you create clear, accurate, and insightful data visualizations.

Data Visualizationaccessibilitybest practices
0 likes · 12 min read
20 Practical Tips for Effective Data Visualization
High Availability Architecture
High Availability Architecture
Apr 19, 2024 · Fundamentals

Comprehensive Guide to Effective Code Review Practices

This article presents a thorough guide on modern code review, covering its importance, common obstacles, preparation steps, automation tools, good and bad commit messages, mindset, code quality principles, review workflow, and practical tips for overcoming challenges and improving team engineering culture.

AutomationCode ReviewDevelopment Workflow
0 likes · 21 min read
Comprehensive Guide to Effective Code Review Practices
Java Interview Crash Guide
Java Interview Crash Guide
Apr 18, 2024 · Backend Development

14 Practical Java Code‑Optimization Tips for Cleaner, More Maintainable Code

This article presents fourteen actionable Java coding‑style and architecture tips—ranging from using configuration properties and Lombok constructors to modularizing methods, throwing exceptions, reducing DB calls, avoiding null returns, and leveraging IDE suggestions—to help developers write cleaner, more robust backend code.

Design PatternsIDEALombok
0 likes · 9 min read
14 Practical Java Code‑Optimization Tips for Cleaner, More Maintainable Code
21CTO
21CTO
Apr 16, 2024 · Backend Development

Essential Backend Development Practices to Boost Efficiency and Scalability

Backend development underpins every software application, and mastering practices such as input validation, robust error handling, separation of concerns, and thorough testing and documentation ensures applications are secure, maintainable, and scalable, empowering developers to build resilient server‑side systems.

Input Validationbackend developmentbest practices
0 likes · 6 min read
Essential Backend Development Practices to Boost Efficiency and Scalability
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 15, 2024 · Backend Development

Mastering Java Pitfalls: NPE, Thread Safety, and Performance Best Practices

This article compiles common Java bugs such as NullPointerException, thread‑safety issues, improper exception handling, and performance traps, and provides practical solutions including annotations, Optional, MapStruct, concurrent utilities, immutable objects, proper resource management, and Spring transaction safeguards.

Exception HandlingNullPointerExceptionbest practices
0 likes · 23 min read
Mastering Java Pitfalls: NPE, Thread Safety, and Performance Best Practices
Ops Development & AI Practice
Ops Development & AI Practice
Apr 11, 2024 · Backend Development

Mastering Error Codes: Best Practices for Clear, Scalable Error Handling

This article outlines practical guidelines for designing systematic error codes and user‑friendly messages, covering classification, templating, dynamic generation, documentation, automation, and references to open‑source specifications such as HTTP, gRPC, Microsoft REST, Google JSON, and Linux errno.

best practiceserror codeserror handling
0 likes · 14 min read
Mastering Error Codes: Best Practices for Clear, Scalable Error Handling
DevOps Engineer
DevOps Engineer
Mar 28, 2024 · Operations

Understanding and Using GitHub Reusable Workflows

This article explains what GitHub Reusable Workflows are, outlines step‑by‑step how to create and invoke them across repositories, provides example YAML code, shares seven best‑practice recommendations, and compares them with Jenkins Shared Libraries to help teams improve CI/CD automation.

AutomationCI/CDGitHub Actions
0 likes · 7 min read
Understanding and Using GitHub Reusable Workflows
Selected Java Interview Questions
Selected Java Interview Questions
Mar 25, 2024 · Databases

Redis Best Practices: Memory Management, Performance Tuning, Reliability, Operations, and Security

This comprehensive guide outlines practical Redis best practices covering memory optimization, key design, data type selection, performance enhancements, high‑availability deployment, operational safeguards, security hardening, and monitoring to help engineers build stable, efficient caching solutions.

Monitoringbest practicescaching
0 likes · 15 min read
Redis Best Practices: Memory Management, Performance Tuning, Reliability, Operations, and Security
Java Captain
Java Captain
Mar 25, 2024 · Fundamentals

Understanding Java ThreadLocal: Mechanism, Use Cases, and Best Practices

ThreadLocal in Java provides thread‑local variables by maintaining a per‑thread map, enabling data isolation, simplifying inter‑thread data transfer, and storing context information, while requiring careful handling to avoid memory leaks, thread‑pool contamination, and overuse.

ThreadLocalbest practicesconcurrency
0 likes · 5 min read
Understanding Java ThreadLocal: Mechanism, Use Cases, and Best Practices
Java Captain
Java Captain
Mar 25, 2024 · Fundamentals

Understanding Exception Handling in Java SE

This article provides a comprehensive guide to Java SE exception handling, covering the concepts and classifications of checked and unchecked exceptions, the try‑catch‑finally structure, custom exception creation, exception chaining, and best‑practice recommendations for writing robust, maintainable Java code.

Exception Handlingbest practicescustom-exception
0 likes · 6 min read
Understanding Exception Handling in Java SE
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2024 · Cloud Native

Is Your Kubernetes Setup Secure? A Complete Best‑Practice Checklist

This article provides a thorough checklist covering application deployment, service governance, and cluster configuration in Kubernetes, including health probes, graceful shutdown, fault tolerance, resource limits, labeling, logging, scaling, RBAC, network policies, and compliance with CIS benchmarks.

Cloud NativeKubernetesOperations
0 likes · 27 min read
Is Your Kubernetes Setup Secure? A Complete Best‑Practice Checklist
DaTaobao Tech
DaTaobao Tech
Mar 15, 2024 · Backend Development

Common Java Development Pitfalls and Solutions

The article surveys frequent Java development mistakes—such as NullPointerExceptions, unsafe object equality, improper null handling, manual mapping errors, thread‑safety and thread‑pool misuse, swallowed exceptions, Spring bean initialization problems, memory leaks, performance traps, and transaction misconfigurations—while offering practical fixes like annotations, Optional, MapStruct, concurrent utilities, immutable wrappers, bounded executors, unified logging, and proper AOP usage.

Springbest practicesbug
0 likes · 18 min read
Common Java Development Pitfalls and Solutions
php Courses
php Courses
Mar 15, 2024 · Fundamentals

The Art of Taming Legacy Code: Strategies, Examples, and Future Directions

This article explores the challenges of legacy code through practical examples, offering step‑by‑step refactoring strategies, testing, documentation, environment management, and innovative tooling like ServBay to help developers modernize both backend and frontend systems while fostering professional growth.

Frontendbest practiceslegacy code
0 likes · 6 min read
The Art of Taming Legacy Code: Strategies, Examples, and Future Directions
360 Quality & Efficiency
360 Quality & Efficiency
Mar 8, 2024 · Cloud Native

Understanding maxUnavailable and maxSurge in Kubernetes Rolling Updates

This article explains the roles of maxUnavailable and maxSurge in Kubernetes rolling updates, demonstrates their impact on update speed and service stability through multiple practical cases, and provides best‑practice guidelines for configuring these parameters to achieve smooth, reliable deployments.

Kubernetesbest practicesdeployment
0 likes · 12 min read
Understanding maxUnavailable and maxSurge in Kubernetes Rolling Updates
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Mar 6, 2024 · Fundamentals

Why Quick Fixes Kill Code Quality and How to Avoid Them

The article warns that relying on quick, superficial bug fixes creates hidden technical debt, explains why deep understanding of code changes matters, and offers practical advice to keep code clean, maintainable, and resilient in complex systems.

DebuggingSoftware Engineeringbest practices
0 likes · 6 min read
Why Quick Fixes Kill Code Quality and How to Avoid Them
dbaplus Community
dbaplus Community
Feb 26, 2024 · Cloud Native

10 Hard‑Earned Lessons from 3 Years Managing Kubernetes Clusters

After three years of hands‑on Kubernetes administration, the author shares ten practical lessons covering cloud‑hosted clusters, infrastructure‑as‑code, Helm chart usage, service mesh decisions, tool selection, resource limits, stateless design, HPA configuration, and upgrade strategies to help both newcomers and seasoned engineers manage clusters effectively.

Cloud NativeCluster ManagementKubernetes
0 likes · 7 min read
10 Hard‑Earned Lessons from 3 Years Managing Kubernetes Clusters
IT Services Circle
IT Services Circle
Feb 21, 2024 · Fundamentals

Choosing the Right Python Version: Guidance and Indicators

Choosing the appropriate Python version involves understanding end‑of‑life status, feature support, prerelease, bug‑fix, security, and lifecycle policies, with stable releases such as 3.8, 3.9, and 3.10 recommended, while considering project dependencies and the need for new features or security updates.

PythonSoftware LifecycleVersion Selection
0 likes · 3 min read
Choosing the Right Python Version: Guidance and Indicators