Tagged articles

best practices

1326 articles · Page 11 of 14
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.

Design Patternsbest practicescode quality
0 likes · 38 min read
Why Code Quality Matters: 4 Common Pitfalls and Proven Solutions for Developers
JD Retail Technology
JD Retail Technology
Apr 9, 2020 · Fundamentals

Six Common Code Review Mistakes and How to Avoid Them

This article outlines six frequent code review pitfalls—including missing change notes, overusing generic exception handling, blind trust in third‑party inputs, overly broad variable scopes, lack of staged results, and excessive logging—and offers practical recommendations to improve code quality and maintainability.

Code ReviewException Handlingbest practices
0 likes · 5 min read
Six Common Code Review Mistakes and How to Avoid Them
Java Architect Essentials
Java Architect Essentials
Apr 6, 2020 · Backend Development

Top 16 Spring Boot Best Practices Every Backend Engineer Should Know

This article compiles sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM management and auto‑configuration to test slicing and externalized configuration—drawn from years of professional experience and expert insights, to help developers build cleaner, more maintainable micro‑service applications.

MicroservicesSpring Bootbackend development
0 likes · 14 min read
Top 16 Spring Boot Best Practices Every Backend Engineer Should Know
Programmer DD
Programmer DD
Apr 5, 2020 · Backend Development

30 Essential Java Code Optimization Tips to Boost Performance

This article presents a comprehensive list of Java code optimization techniques—from using final modifiers and reusing objects to pre‑sizing collections and avoiding unnecessary exceptions—explaining how each practice reduces code size, improves execution efficiency, and prevents memory leaks.

backendbest practicescode optimization
0 likes · 17 min read
30 Essential Java Code Optimization Tips to Boost Performance
Java Backend Technology
Java Backend Technology
Apr 4, 2020 · Databases

10 Essential Redis Tips for Faster, Safer Data Management

This article presents ten practical Redis best‑practice tips—including avoiding KEYS *, using INFO commandstats, leveraging hashes, setting key expirations, selecting proper eviction policies, handling errors, scaling with clusters, and ensuring high availability—to help developers optimize performance and reliability of their in‑memory data stores.

High Availabilitybest practicescaching
0 likes · 9 min read
10 Essential Redis Tips for Faster, Safer Data Management
Architects' Tech Alliance
Architects' Tech Alliance
Mar 31, 2020 · Backend Development

99 Things Every Software Architect Should Know

This article compiles 99 practical guidelines for software architects, covering everything from continuous learning, simplifying complexity, effective communication, performance awareness, requirement analysis, coding discipline, design trade‑offs, testing, and team leadership, offering a comprehensive roadmap to becoming a high‑impact architect.

best practicescommunicationdesign
0 likes · 22 min read
99 Things Every Software Architect Should Know
Qunar Tech Salon
Qunar Tech Salon
Mar 31, 2020 · Fundamentals

Ten Full‑Stack Engineering Lessons Learned from a Decade in Silicon Valley

The article shares ten practical lessons from a senior full‑stack engineer covering CSS specificity, component state design, backend code organization, PostgreSQL performance, the pitfalls of rushing releases, automation investment, mastering tools, MVP thinking, research‑driven development, and systematic scientific debugging.

CI/CDFull-StackMVP
0 likes · 15 min read
Ten Full‑Stack Engineering Lessons Learned from a Decade in Silicon Valley
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 30, 2020 · Fundamentals

Why Code Review Is a Developer’s Secret Weapon for Quality and Growth

Code review, described as a rational dialogue about code, improves team harmony, uncovers hidden bugs, enforces meaningful naming, reduces redundancy, and promotes disciplined practices such as proper spacing, centralized constants, and thoughtful exception handling, ultimately turning every line of code into purposeful, maintainable software.

Code ReviewQualitySoftware Engineering
0 likes · 12 min read
Why Code Review Is a Developer’s Secret Weapon for Quality and Growth
Liangxu Linux
Liangxu Linux
Mar 23, 2020 · Databases

10 Essential Redis Best Practices Every Developer Should Follow

This article presents ten practical Redis best‑practice guidelines—from avoiding the costly KEYS * command and leveraging SCAN, to using INFO for command statistics, employing hashes, setting expirations, selecting eviction policies, handling errors, scaling with clusters, understanding threading limits, and configuring Sentinel for high availability.

DatabaseHigh AvailabilityRedis
0 likes · 9 min read
10 Essential Redis Best Practices Every Developer Should Follow
Programmer DD
Programmer DD
Mar 17, 2020 · Databases

10 Essential Redis Tips to Boost Performance and Reliability

This article presents ten practical Redis best‑practice tips—including avoiding KEYS *, using SCAN, monitoring command stats, leveraging hashes, setting expirations, choosing eviction policies, handling errors, scaling with clusters, understanding threading, and configuring Sentinel—for improved performance, stability, and high availability.

Databasebest practicesperformance
0 likes · 9 min read
10 Essential Redis Tips to Boost Performance and Reliability
Qunar Tech Salon
Qunar Tech Salon
Mar 17, 2020 · Fundamentals

What I Learned from Doing 1,000 Code Reviews: Common Mistakes and Best Practices

The article shares insights from reviewing thousands of code submissions, highlighting frequent errors such as swallowing exceptions, overusing generic string types, and misusing nulls, and recommends concrete type usage, proper exception handling, Optionals, and "unlifting" techniques to improve code quality and maintainability.

Code ReviewException HandlingOptionals
0 likes · 8 min read
What I Learned from Doing 1,000 Code Reviews: Common Mistakes and Best Practices
ITPUB
ITPUB
Mar 15, 2020 · Fundamentals

How to Become a Great Programmer: 10 Essential Practices

This article outlines ten practical habits for programmers—including cautious agreement, assertive refusal, building a personal knowledge system, cultivating a big‑picture view, adhering to coding standards, conducting code reviews, focusing on one language at a time, writing logic‑first comments, managing time well, and deeply understanding client needs—to accelerate professional growth and avoid common pitfalls.

best practicescareer adviceproductivity
0 likes · 9 min read
How to Become a Great Programmer: 10 Essential Practices
Java Captain
Java Captain
Mar 15, 2020 · Fundamentals

Effective Error Logging Practices and Common Causes of Software Errors

The article explains why clear, complete and consistent error logs are essential for troubleshooting, enumerates typical sources of bugs—from invalid parameters and integration failures to logic coupling and hardware issues—and provides concrete guidelines and code examples for writing diagnostic logs that are easy to understand and act upon.

Error Loggingbest practicesjava
0 likes · 19 min read
Effective Error Logging Practices and Common Causes of Software Errors
Programmer DD
Programmer DD
Mar 13, 2020 · Databases

10 Essential Redis Best Practices Every Developer Should Follow

This article presents ten practical Redis best‑practice recommendations—from avoiding the costly KEYS * command and using SCAN, to leveraging hashes, setting key expirations, choosing appropriate eviction policies, handling errors, scaling with clusters, and ensuring high availability—helping developers optimize performance and reliability.

Databasebest practicesperformance
0 likes · 9 min read
10 Essential Redis Best Practices Every Developer Should Follow
Top Architect
Top Architect
Mar 7, 2020 · Fundamentals

Google Java Style Guide: Comprehensive Coding Standards and Best Practices

This guide presents the complete Google Java style specification, covering file naming, UTF‑8 encoding, whitespace rules, brace placement, indentation, import ordering, class structure, naming conventions, formatting details, comment styles, Javadoc requirements, and practical coding recommendations for clean, maintainable Java code.

GoogleStyle Guidebest practices
0 likes · 21 min read
Google Java Style Guide: Comprehensive Coding Standards and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Mar 2, 2020 · Databases

10 Essential Redis Best Practices Every Engineer Should Follow

This article presents ten practical Redis best‑practice tips—from avoiding the costly KEYS * command to using hashes, setting appropriate expiration, choosing the right eviction policy, and ensuring high availability—helping developers optimize performance and reliability of their in‑memory data stores.

Redisbackendbest practices
0 likes · 9 min read
10 Essential Redis Best Practices Every Engineer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Feb 18, 2020 · Fundamentals

10 Common Python Pitfalls and How to Avoid Them

This article walks through ten frequent Python gotchas—from mutable default arguments and for‑else usage to dictionary key hashing, proper if checks, lazy‑evaluation closures, path handling, eval quirks, while loop nuances, multiline strings, and requests encoding—providing clear explanations and corrected code examples.

Tutorialbest practicescode examples
0 likes · 10 min read
10 Common Python Pitfalls and How to Avoid Them
21CTO
21CTO
Feb 17, 2020 · Fundamentals

Master Java Exceptions: Types, Handling, and Best Practices

This article explains Java exceptions, classifies them into Errors and Exceptions (including RuntimeException and CheckedException), describes how to handle them with try‑catch, throw, and throws, clarifies the difference between throw and throws, and offers practical best‑practice guidelines.

CheckedExceptionErrorException Handling
0 likes · 5 min read
Master Java Exceptions: Types, Handling, and Best Practices
360 Quality & Efficiency
360 Quality & Efficiency
Feb 13, 2020 · Backend Development

Reliable Bash Shell Scripting Practices

This article presents a comprehensive set of best‑practice guidelines for writing reliable Bash shell scripts, covering shebang selection, quoting variables, function encapsulation, readonly constants, variable scope, error handling, debugging, path management, argument parsing with shift, signal trapping, and helpful tips to improve script robustness and maintainability.

Shell scriptingbashbest practices
0 likes · 9 min read
Reliable Bash Shell Scripting Practices
Java Captain
Java Captain
Feb 3, 2020 · Fundamentals

Java Coding Standards and Best Practices: Naming, Documentation, and CheckStyle

This article presents comprehensive Java coding standards—including naming conventions, Javadoc documentation, and the use of CheckStyle for automated style checking—along with a list of practical development habits to improve code quality, maintainability, and productivity.

best practicescheckstylecoding standards
0 likes · 9 min read
Java Coding Standards and Best Practices: Naming, Documentation, and CheckStyle
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 11, 2020 · Operations

Best Practices for Writing Efficient Dockerfiles

This article presents a concise Dockerfile template, explains how to build efficient images by minimizing layers, leveraging caches, using multi‑stage builds, and addresses common pitfalls such as over‑caching, proper use of ARG/ENV, COPY vs ADD, and CMD/ENTRYPOINT configurations.

DevOpsDockerDockerfile
0 likes · 12 min read
Best Practices for Writing Efficient Dockerfiles
DevOps Cloud Academy
DevOps Cloud Academy
Jan 1, 2020 · Operations

Jenkins Pipeline Best Practices: Do’s and Don’ts

This article outlines essential Jenkins Pipeline best practices, including using the official Pipeline plugin, treating pipelines as code, organizing work into stages and nodes, leveraging parallel execution, handling inputs with timeouts, and preferring stash over archive for artifact management.

CI/CDDevOpsGroovy
0 likes · 7 min read
Jenkins Pipeline Best Practices: Do’s and Don’ts
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 18, 2019 · Backend Development

Boost Java Performance: 50 Proven Tips for Faster, Efficient Code

This article presents a comprehensive collection of 50 practical Java performance tips, covering constants, variables, objects, methods, expressions, strings, arrays, collections, exceptions, buffers, and threading, each illustrated with clear examples of inefficient code and its optimized counterpart to help developers write high‑efficiency Java applications.

CodingOptimizationbest practices
0 likes · 28 min read
Boost Java Performance: 50 Proven Tips for Faster, Efficient Code
Liangxu Linux
Liangxu Linux
Dec 14, 2019 · Frontend Development

Choosing the Ideal Line Length: 100‑Char Width for Cleaner Angular Code

This article explores practical code‑formatting guidelines for Angular projects, arguing that a 100‑character line width balances readability and compactness, and offering concrete recommendations for template layout, attribute ordering, and function formatting using VS Code and Prettier.

AngularFrontendHTML
0 likes · 7 min read
Choosing the Ideal Line Length: 100‑Char Width for Cleaner Angular Code
Architecture Digest
Architecture Digest
Dec 14, 2019 · Databases

Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and BigKey Management

This article presents comprehensive guidelines for Alibaba Cloud Redis, covering readable and concise key naming, value design to avoid big keys, safe command usage, client connection pooling and circuit‑breaker patterns, appropriate eviction policies, and practical code examples for deleting large hashes, lists, sets, and sorted sets.

Key DesignRedisbest practices
0 likes · 12 min read
Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and BigKey Management
Programmer DD
Programmer DD
Nov 24, 2019 · Databases

Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls

This guide outlines practical Redis best practices, covering readable key naming with colons, keeping string values under 10 KB, setting expirations, avoiding O(n) commands, disabling risky commands, leveraging batch operations, and responsibly using the monitor command to maintain performance and stability.

Key NamingRedisbest practices
0 likes · 7 min read
Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls
MaGe Linux Operations
MaGe Linux Operations
Nov 20, 2019 · Operations

Essential Shell Script Best Practices for Reliable Automation

This article outlines the evolution from manual to automated operations, then presents a comprehensive set of shell‑script guidelines—including header conventions, formatting, safety checks, variable handling, loop pitfalls, logging, concurrency locks, and risk‑avoidance techniques—to help engineers write robust, maintainable automation scripts.

OperationsShell scriptingbest practices
0 likes · 10 min read
Essential Shell Script Best Practices for Reliable Automation
Efficient Ops
Efficient Ops
Nov 17, 2019 · Operations

Mastering Shell Script Best Practices for Reliable Automation

This article outlines how to transform manual and scripted operations into automated and intelligent processes by applying comprehensive shell scripting standards, avoiding common pitfalls, and implementing risk‑mitigation techniques such as proper headers, quoting, logging, concurrency locks, and safe file handling.

LinuxShell scriptingbest practices
0 likes · 9 min read
Mastering Shell Script Best Practices for Reliable Automation
Sohu Tech Products
Sohu Tech Products
Nov 13, 2019 · Frontend Development

How to Properly Publish an NPM Package: Best Practices and Guidelines

This article explains the complete workflow for publishing a high‑quality NPM package, covering component‑oriented thinking, directory and configuration conventions, package.json standards, development processes, commit and changelog practices, quality assurance with linting, testing and type systems, as well as documentation and demo requirements.

Component DevelopmentFrontendbest practices
0 likes · 20 min read
How to Properly Publish an NPM Package: Best Practices and Guidelines
Liangxu Linux
Liangxu Linux
Nov 9, 2019 · Fundamentals

Mastering Clean Code: Naming, Functions, and Testing Best Practices

This article distills key principles from "Clean Code", covering how expressive naming, well‑structured functions, and disciplined testing together raise code readability, maintainability, and reliability, while providing concrete examples and actionable guidelines for everyday programming.

NamingSoftware Engineeringbest practices
0 likes · 11 min read
Mastering Clean Code: Naming, Functions, and Testing Best Practices
FunTester
FunTester
Nov 3, 2019 · Fundamentals

Why Skipping Code Reviews Can Derail Your Project—and How QA Can Lead the Way

The article explains what code review is, its goals, why it’s essential alongside testing, how QA professionals can effectively participate, various review methods, a Selenium‑specific checklist, and a set of best‑practice guidelines to improve software quality and delivery speed.

Code ReviewQASoftware testing
0 likes · 15 min read
Why Skipping Code Reviews Can Derail Your Project—and How QA Can Lead the Way
dbaplus Community
dbaplus Community
Oct 28, 2019 · Operations

Avoid Common Prometheus Pitfalls: Best Practices for Reliable Monitoring

This article shares practical Prometheus best‑practice tips, covering the accuracy‑reliability trade‑off, self‑monitoring setups, avoiding NFS storage, pruning high‑cardinality metrics, handling rate‑function traps, alert‑graph mismatches, group_interval effects, and the overarching goal of stable, cost‑effective observability.

OperationsPrometheusalerting
0 likes · 9 min read
Avoid Common Prometheus Pitfalls: Best Practices for Reliable Monitoring
21CTO
21CTO
Oct 21, 2019 · Backend Development

Boost Java Performance: 16 Proven Coding Practices You Should Adopt

This article presents sixteen practical Java coding guidelines—ranging from avoiding "where 1=1" in MyBatis to using static blocks for collection initialization, preferring Set over List for contains checks, and returning empty collections instead of null—to help developers write more efficient, readable, and safe backend code.

CollectionsMyBatisbackend development
0 likes · 17 min read
Boost Java Performance: 16 Proven Coding Practices You Should Adopt
Sohu Tech Products
Sohu Tech Products
Oct 17, 2019 · Fundamentals

Software Architecture Is Overrated: Practical Design Practices from Large‑Scale Tech Companies

The article argues that simple, term‑free design processes—focused on business problems, whiteboard brainstorming, concise documentation, and iterative feedback—outperform formal architecture tools, patterns, and dedicated architects in large‑scale systems like Uber, emphasizing engineering culture over rigid methodologies.

Design ProcessSystem DesignUber
0 likes · 12 min read
Software Architecture Is Overrated: Practical Design Practices from Large‑Scale Tech Companies
Python Programming Learning Circle
Python Programming Learning Circle
Oct 17, 2019 · Fundamentals

5 Essential Habits Every Junior Developer Must Master

This article shares practical advice for junior developers, emphasizing the importance of a learning mindset, reading existing code, seeking constructive criticism, considering the big picture, and developing skills beyond programming to accelerate career growth and become a valuable team member.

best practicescareer advicejunior developer
0 likes · 9 min read
5 Essential Habits Every Junior Developer Must Master
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Oct 10, 2019 · Frontend Development

Mastering CSS Class Naming: From Chaos to BEM and Beyond

This article explores the challenges of CSS class naming, reviews the evolution from chaotic early practices through atomic and modular approaches, explains BEM conventions, and provides practical rules and code examples for creating clear, maintainable class structures in modern front‑end development.

BEMCSSFrontend
0 likes · 15 min read
Mastering CSS Class Naming: From Chaos to BEM and Beyond
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.

C++Design PatternsSoftware Engineering
0 likes · 8 min read
Why My Student Project’s Code Is a Nightmare—and How to Fix It
DevOpsClub
DevOpsClub
Sep 22, 2019 · Fundamentals

Google’s Code Review Standards: A Practical Guide for Developers

This article translates Google's engineering practices on code review, outlining the purpose, principles, guidelines, and detailed steps for reviewers and authors to ensure high code quality, efficient collaboration, and continuous improvement across design, testing, documentation, and review speed.

Code ReviewDevelopment WorkflowGoogle
0 likes · 27 min read
Google’s Code Review Standards: A Practical Guide for Developers
Architects Research Society
Architects Research Society
Sep 21, 2019 · Information Security

12 Best Cybersecurity Practices for 2019

This article outlines twelve essential cybersecurity practices for 2019, covering biometric authentication, tiered security policies, risk‑based approaches, regular backups, IoT security, multi‑factor authentication, password management, least‑privilege principles, privileged‑user monitoring, third‑party access control, phishing awareness, and employee training.

MFAbest practicescybersecurity
0 likes · 18 min read
12 Best Cybersecurity Practices for 2019
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 20, 2019 · Fundamentals

Mastering Code Review: Standards, Guidelines, and Best Practices

This comprehensive guide explains Google's code review standards, covering reviewer responsibilities, design principles, conflict resolution, what to examine in a change list, review speed, handling large changes, and effective comment writing to ensure high code quality and team productivity.

Code ReviewQuality AssuranceReview Process
0 likes · 38 min read
Mastering Code Review: Standards, Guidelines, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2019 · Fundamentals

Essential Checklist for Designing Clean Python Library APIs

This article distills the key recommendations from the 2017 PyCon talk “How to make a good library API”, offering a concise checklist that covers simplicity, consistency, flexibility, and security to help Python developers create intuitive, maintainable, and robust library interfaces.

API DesignPythonSoftware Engineering
0 likes · 11 min read
Essential Checklist for Designing Clean Python Library APIs
Java Captain
Java Captain
Sep 17, 2019 · Backend Development

Java Function Coding Guidelines: Primitive Types, Parameter Classes, and Refactoring Best Practices

This article presents a series of Java function coding guidelines—including using primitive types for parameters and return values, avoiding null arrays or lists, encapsulating many parameters into objects, replacing anonymous inner classes with functions, simplifying control flow, and employing temporary variables—to improve code readability, maintainability, and robustness.

best practicescode readabilitycoding standards
0 likes · 19 min read
Java Function Coding Guidelines: Primitive Types, Parameter Classes, and Refactoring Best Practices
Architect's Tech Stack
Architect's Tech Stack
Sep 6, 2019 · Fundamentals

The Importance of Reading Source Code and How to Effectively Study It

This article explains why reading source code is valuable—for debugging, understanding design, learning languages and algorithms, refactoring, and even interview preparation—and provides practical steps such as reviewing documentation, exploring project structure, focusing on specific issues, debugging, and taking notes.

LearningOpen SourceSoftware Engineering
0 likes · 7 min read
The Importance of Reading Source Code and How to Effectively Study It
Java Backend Technology
Java Backend Technology
Aug 29, 2019 · Fundamentals

Why Code Review Is Essential and How to Implement It Effectively

This article explains the multiple benefits of code review—including knowledge sharing, improved code quality, and enforcing team standards—and provides practical steps, cultural tips, and tool recommendations to make code review a mandatory, effective part of any development workflow.

Code ReviewQuality AssuranceTeam Collaboration
0 likes · 13 min read
Why Code Review Is Essential and How to Implement It Effectively
Alibaba Cloud Native
Alibaba Cloud Native
Aug 28, 2019 · Cloud Native

Mastering Kubernetes: A Complete Knowledge Map for Cloud‑Native Engineers

This article presents a comprehensive Kubernetes knowledge map, covering core concepts, container runtime principles, deployment tools, essential components, plugin extensions, image registries, best‑practice optimizations, and service‑mesh options, with curated reference links for each topic.

Container ServiceDeployment ToolsKubernetes
0 likes · 15 min read
Mastering Kubernetes: A Complete Knowledge Map for Cloud‑Native Engineers
FunTester
FunTester
Aug 27, 2019 · Backend Development

10 Essential Steps to Become an Outstanding Java Developer

This guide outlines ten practical steps—from mastering OOP principles and core Java APIs to engaging with community forums, studying open‑source code, tracking emerging trends, and documenting your insights—that together help any Java programmer elevate their skills and become truly outstanding.

Core APILearning PathOOP
0 likes · 11 min read
10 Essential Steps to Become an Outstanding Java Developer
Java Backend Technology
Java Backend Technology
Aug 9, 2019 · Backend Development

10 Common Mistakes in Java Backend Development and How to Avoid Them

This article outlines ten frequent errors that Java backend developers make—from over‑focusing on low‑level details and leaking internal structures to neglecting separation of concerns, proper exception handling, multithreading, validation, XML configuration, profile management, dependency injection, and testing—offering practical guidance to prevent each pitfall.

Springbest practicesjava
0 likes · 14 min read
10 Common Mistakes in Java Backend Development and How to Avoid Them
Java Captain
Java Captain
Aug 4, 2019 · Fundamentals

Clean Code Practices: Naming, Method Length, Nesting Reduction, and Useful Libraries

The article shares practical clean‑code guidelines for Java developers, covering how code serves as team communication, the importance of clear naming, keeping methods short, reducing nested if/else, extracting try/catch blocks, encapsulating many parameters, and leveraging Lombok and Apache Commons utilities.

Lombokbest practicesmethod design
0 likes · 10 min read
Clean Code Practices: Naming, Method Length, Nesting Reduction, and Useful Libraries
Amap Tech
Amap Tech
Jul 30, 2019 · Backend Development

Java Function Coding Guidelines: Primitive Types, Null‑Safe Returns, Parameter Encapsulation, and Code Simplification

The article outlines Java function best practices, recommending primitive types for parameters and returns, returning empty collections instead of null, grouping many arguments into parameter objects, replacing anonymous classes with named methods, using early returns, temporary variables, and limiting parameters to those truly required.

best practicescoding standardsjava
0 likes · 14 min read
Java Function Coding Guidelines: Primitive Types, Null‑Safe Returns, Parameter Encapsulation, and Code Simplification
Amap Tech
Amap Tech
Jul 23, 2019 · Fundamentals

Java Function Refactoring Guidelines and Best Practices

The article outlines Java function refactoring guidelines—using utility methods, splitting large functions, keeping consistent block levels, extracting repeated logic, encapsulating parameter retrieval and conditions, parameterizing interfaces, reducing nesting with early returns, and avoiding unnecessary null checks—to improve code readability, maintainability, and performance.

Code Refactoringbest practicesclean code
0 likes · 15 min read
Java Function Refactoring Guidelines and Best Practices
Java Backend Technology
Java Backend Technology
Jul 21, 2019 · Backend Development

30 Essential Architecture Principles Every Backend Engineer Should Follow

This article presents thirty practical architecture principles—from keeping designs simple and avoiding unnecessary features to embracing automated testing, ROI, user‑centric decisions, and distributed system fundamentals—offering a comprehensive guide for backend developers to build scalable, maintainable, and user‑friendly software.

backend designbest practicesdistributed systems
0 likes · 12 min read
30 Essential Architecture Principles Every Backend Engineer Should Follow
Continuous Delivery 2.0
Continuous Delivery 2.0
Jul 11, 2019 · Fundamentals

Seven Practical Techniques for Writing Testable Code

Writing unit-testable code often requires refactoring, and by focusing on minimizing function size, dependencies, and complexity, developers can adopt seven practical techniques—including limiting function lines, single responsibility, dependency injection, avoiding complex parameters, using abstractions, extracting testable units, and handling private functions—to improve testability and team efficiency.

Software Designbest practicesrefactoring
0 likes · 6 min read
Seven Practical Techniques for Writing Testable Code
System Architect Go
System Architect Go
Jul 10, 2019 · Cloud Native

Dockerfile Best Practices: Tips for Efficient Image Building

This article presents ten practical Dockerfile best‑practice tips—including ordering instructions, precise COPY usage, merging RUN commands, minimizing dependencies, cleaning package caches, leveraging official and minimal base images, clear tagging, multi‑stage builds, and consistent build environments—to help developers create smaller, faster, and more maintainable container images.

DockerDockerfilebest practices
0 likes · 6 min read
Dockerfile Best Practices: Tips for Efficient Image Building
Big Data Technology Architecture
Big Data Technology Architecture
Jul 9, 2019 · Big Data

Kafka Best Practices for High Throughput: 20 Recommendations

This article presents New Relic's 20 best‑practice recommendations for operating Apache Kafka at high throughput, covering partitions, consumers, producers, and brokers, and explains key concepts, configuration tuning, monitoring, and architectural considerations to ensure reliable, scalable streaming pipelines.

BrokersConsumersHigh Throughput
0 likes · 14 min read
Kafka Best Practices for High Throughput: 20 Recommendations
Java Architecture Diary
Java Architecture Diary
Jun 26, 2019 · Fundamentals

Unlock Java Excellence: New Rules in the Updated Java Development Handbook

The updated Java Development Handbook, originating from Alibaba's internal guidelines and now a global standard, introduces 21 new rules, revises 112 descriptions, and enhances examples across seven dimensions including coding conventions, exception logging, unit testing, security, MySQL, engineering, and design, offering developers fresh insights.

Software Engineeringbest practicescoding standards
0 likes · 1 min read
Unlock Java Excellence: New Rules in the Updated Java Development Handbook
MaGe Linux Operations
MaGe Linux Operations
Jun 14, 2019 · Operations

Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Code

This article compiles comprehensive shell scripting style guidelines—including shebang usage, commenting standards, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, security, line continuation, efficiency tricks, parallel execution, and integration with tools like shellcheck—to help developers write readable, maintainable, and performant scripts.

Scriptbashbest practices
0 likes · 16 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Code
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2019 · Fundamentals

Master Python Exception Handling: From Basics to Best Practices

This article explains what errors and exceptions are in Python, how the try/except/finally constructs work, demonstrates various usage patterns—including catching specific or multiple exceptions, re‑raising, and using built‑in alternatives—and provides best‑practice guidelines for robust error handling.

Exception HandlingPythonbest practices
0 likes · 12 min read
Master Python Exception Handling: From Basics to Best Practices
Programmer DD
Programmer DD
May 16, 2019 · Backend Development

9 Essential Java Exception‑Handling Practices Every Developer Should Follow

Mastering Java exception handling can be tricky, so this guide outlines nine widely‑accepted best‑practice conventions—from using finally or try‑with‑resources for resource cleanup to avoiding catching Throwable—helping developers write clearer, more maintainable code and improve API usability.

Codingbackendbest practices
0 likes · 11 min read
9 Essential Java Exception‑Handling Practices Every Developer Should Follow
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.

Debuggingbest practicesbug
0 likes · 13 min read
Why Bugs Are Inevitable and How to Find Them Faster
21CTO
21CTO
May 2, 2019 · Fundamentals

Master Google’s Java Style Guide: Essential Rules for Clean Code

This document defines the complete Google Java Style Guide, detailing file naming, structure, formatting, naming conventions, and best‑practice recommendations—including whitespace, braces, imports, annotations, Javadoc, and exception handling—to ensure Java source files conform to Google’s coding standards.

FormattingStyle Guidebest practices
0 likes · 35 min read
Master Google’s Java Style Guide: Essential Rules for Clean Code
Java Captain
Java Captain
Apr 27, 2019 · Databases

Redis Key Design, Command Usage, and Client Best Practices

This guide presents comprehensive best‑practice recommendations for designing Redis keys, choosing appropriate data types, managing key lifecycles, safely using commands, optimizing client connections, handling big keys, and selecting eviction policies to ensure high performance and reliability in production environments.

DatabaseKey DesignRedis
0 likes · 12 min read
Redis Key Design, Command Usage, and Client Best Practices
Efficient Ops
Efficient Ops
Apr 24, 2019 · Operations

Why Every Ops Change Should Be Treated Like a Project

This article shares practical lessons from a real‑world ops incident, emphasizing the need for clear change background, optimal timing, project‑style management, and strict process adherence to reduce risk and improve production reliability.

DevOpsOperationsbest practices
0 likes · 9 min read
Why Every Ops Change Should Be Treated Like a Project
MaGe Linux Operations
MaGe Linux Operations
Apr 21, 2019 · Fundamentals

Designing Clean Python Library APIs: A Practical Checklist

This article, based on a 2017 PyCon talk, provides a comprehensive checklist of best‑practice guidelines—covering simplicity, consistency, flexibility, and security—to help developers create intuitive, maintainable, and Pythonic library APIs.

API DesignLibrarySoftware Engineering
0 likes · 12 min read
Designing Clean Python Library APIs: A Practical Checklist
Senior Brother's Insights
Senior Brother's Insights
Apr 20, 2019 · Databases

Essential MySQL Database Design and Coding Standards for Reliable Systems

This guide outlines comprehensive MySQL naming conventions, table and column design rules, indexing best practices, SQL coding standards, and operational recommendations to improve performance, maintainability, and security while avoiding common pitfalls such as redundant indexes, unsafe data types, and excessive batch operations.

Data ModelingDatabase DesignIndexing
0 likes · 19 min read
Essential MySQL Database Design and Coding Standards for Reliable Systems
Senior Brother's Insights
Senior Brother's Insights
Apr 18, 2019 · Backend Development

Master Google’s Java Style Guide: Essential Formatting Rules for Clean Code

This article presents the complete Google Java Style Guide, detailing terminology, file naming, source file structure, whitespace handling, brace placement, line‑length limits, import ordering, naming conventions, coding practices, and Javadoc requirements, providing concrete examples and tips for writing consistent, readable Java code.

Google Style Guidebest practicescode formatting
0 likes · 25 min read
Master Google’s Java Style Guide: Essential Formatting Rules for Clean Code
ITPUB
ITPUB
Apr 10, 2019 · Backend Development

Top 45 Java Performance Tips Every Developer Should Follow

This guide presents 45 practical Java performance optimization techniques—ranging from proper use of singletons and final modifiers to efficient collection handling and avoiding costly operations—helping developers write faster, more memory‑efficient code.

Memory Managementbest practicesconcurrency
0 likes · 19 min read
Top 45 Java Performance Tips Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2019 · Fundamentals

Essential Python Coding Style Guide: Simple Rules for Clean Code

This article distills the most practical Python coding conventions into clear principles, minimal guidelines, detailed formatting rules, naming standards, writing tips, and commenting practices to help developers write readable, consistent, and maintainable code.

best practicescoding stylenaming conventions
0 likes · 8 min read
Essential Python Coding Style Guide: Simple Rules for Clean Code
Architect's Tech Stack
Architect's Tech Stack
Mar 30, 2019 · Backend Development

Java Performance Optimization Tips and Best Practices

This article presents a comprehensive collection of Java performance‑tuning recommendations, covering proper use of singletons, static variables, object creation, final modifiers, local variables, primitive types, synchronization, collections, memory management, and code‑level tricks, each illustrated with concise code examples.

Optimizationbackendbest practices
0 likes · 18 min read
Java Performance Optimization Tips and Best Practices
360 Tech Engineering
360 Tech Engineering
Mar 21, 2019 · Fundamentals

Return Code Bugs and Their Fixes in Function Testing

The article examines two typical return‑code bugs encountered during software testing—one where a default success code is unintentionally returned in error scenarios and another where mismatched return‑code checks render error‑handling branches unreachable—offering concrete solutions and best‑practice recommendations.

Exception HandlingSoftware testingbest practices
0 likes · 4 min read
Return Code Bugs and Their Fixes in Function Testing
Efficient Ops
Efficient Ops
Mar 14, 2019 · Operations

9 Essential Logging Best Practices to Boost System Performance

This article presents nine practical logging best‑practice recommendations—from understanding human and machine audiences and standardizing log formats to leveraging metrics, proper alerting, severity levels, contextual information, and advanced framework features—helping operations teams improve system performance and troubleshooting efficiency.

Operationsbest practiceslogging
0 likes · 11 min read
9 Essential Logging Best Practices to Boost System Performance
Java Backend Technology
Java Backend Technology
Mar 10, 2019 · Fundamentals

Mastering Code Refactoring: Principles, Smells, and Practical Techniques

Refactoring transforms messy code into clean, maintainable structures without altering observable behavior, covering principles, common code smells, and step‑by‑step techniques such as extracting functions, moving methods, simplifying conditionals, and reorganizing data, empowering developers to improve design, reduce bugs, and accelerate development.

Software Designbest practicesclean code
0 likes · 26 min read
Mastering Code Refactoring: Principles, Smells, and Practical Techniques
Node Underground
Node Underground
Feb 28, 2019 · Information Security

10 Essential npm Security Practices Every Developer Should Follow

This article outlines ten critical npm security best practices—from avoiding secret leaks and using lockfiles to enabling two‑factor authentication and understanding typosquatting—helping front‑end and back‑end developers safeguard their projects against common package‑related vulnerabilities.

best practicesnpmsecurity
0 likes · 2 min read
10 Essential npm Security Practices Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Feb 25, 2019 · Information Security

10 Common Python Security Vulnerabilities and How to Fix Them

This article outlines ten frequent security flaws in Python—from input injection and unsafe XML parsing to misuse of assert statements and vulnerable third‑party packages—explaining how each can be exploited and providing concrete remediation techniques to write safer code.

PicklePythonVulnerabilities
0 likes · 10 min read
10 Common Python Security Vulnerabilities and How to Fix Them
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.

Software Engineeringbest practicescode quality
0 likes · 8 min read
How to Write Clean, Maintainable Code: Refactoring and Naming Best Practices
21CTO
21CTO
Jan 12, 2019 · Fundamentals

Boost Your Python Skills: Simple Tips for More Pythonic Code

This article presents a collection of practical Pythonic techniques—including variable swapping, efficient looping, string concatenation, proper file handling, list manipulation, destructuring assignment, and dictionary iteration—to help developers write cleaner, more memory‑efficient, and more readable Python code.

Code stylePythonbest practices
0 likes · 4 min read
Boost Your Python Skills: Simple Tips for More Pythonic Code
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2019 · Fundamentals

Boost Your Python Code: 10 Essential Pythonic Tips for Cleaner, Faster Scripts

This article presents a collection of practical Pythonic techniques—including variable swapping, efficient looping, string concatenation, file handling, list operations, destructuring assignment, and comprehensions—illustrated with clear before‑and‑after code examples, helping developers write more concise, readable, and memory‑efficient Python code.

Pythonbest practicescoding style
0 likes · 4 min read
Boost Your Python Code: 10 Essential Pythonic Tips for Cleaner, Faster Scripts
MaGe Linux Operations
MaGe Linux Operations
Jan 8, 2019 · Fundamentals

Turn Your Code Into Clean, Pythonic Idioms: A Practical Guide

This article walks through what makes code Pythonic, offering clear examples and better alternatives for loops, collections, dictionaries, unpacking, context managers, decorators, and other common patterns to help developers write more readable, efficient, and idiomatic Python.

best practicescode optimizationcontext-managers
0 likes · 16 min read
Turn Your Code Into Clean, Pythonic Idioms: A Practical Guide
Programmer DD
Programmer DD
Jan 6, 2019 · Fundamentals

How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Best Practices

This tutorial explains what Java memory leaks are, how they occur through static fields, unclosed resources, improper equals/hashCode, inner classes, finalizers, String interning, and ThreadLocal usage, and provides practical detection methods, profiling tools, and concrete prevention strategies to keep applications performant.

Garbage Collectionbest practicesjava
0 likes · 16 min read
How to Detect and Prevent Java Memory Leaks: Real‑World Examples and Best Practices
Java Backend Technology
Java Backend Technology
Jan 6, 2019 · Fundamentals

10 Developer Habits That Sabotage Your Success – How to Break Them

Brad Traversy outlines ten common developer habits—ranging from insufficient rest and refusing help to chaotic code and poor work‑life balance—that can hinder productivity, and offers practical strategies to recognize, correct, and replace them, helping both newcomers and seasoned programmers improve their professional growth.

Software Engineeringbest practicescareer advice
0 likes · 13 min read
10 Developer Habits That Sabotage Your Success – How to Break Them
Alibaba Cloud Native
Alibaba Cloud Native
Dec 28, 2018 · Backend Development

Essential API Design Principles and Practical Guidelines

This article explores why API design is crucial for large‑scale software systems, outlines fundamental design principles, presents detailed best‑practice recommendations, and discusses compatibility, idempotency, error handling, and versioning with concrete examples such as the POSIX File API.

API DesignDocumentationIdempotency
0 likes · 21 min read
Essential API Design Principles and Practical Guidelines
UC Tech Team
UC Tech Team
Dec 27, 2018 · Fundamentals

Why Code Review Matters: Nine Compelling Reasons

The article explains why code review is essential for software teams, describing how systematic reviews catch bugs, spread knowledge, reduce bus factor risk, align trends, improve communication, create useful history, enable precise discussions, strengthen team cohesion, and enhance code readability.

Code ReviewSoftware EngineeringTeam Collaboration
0 likes · 5 min read
Why Code Review Matters: Nine Compelling Reasons
UC Tech Team
UC Tech Team
Dec 18, 2018 · Frontend Development

Why Prototype Code Should Never Become Production Code

The article argues that while rapid prototyping with HTML, CSS, and JavaScript is essential for testing ideas, developers should never carry prototype code into production, emphasizing speed over semantics during prototyping but insisting on quality, performance, and accessibility for final releases.

Web Developmentbest practicesproduction
0 likes · 5 min read
Why Prototype Code Should Never Become Production Code
ITPUB
ITPUB
Dec 5, 2018 · Cloud Native

Essential Dockerizing Tips: From Base Image to Log Rotation

This guide presents practical Dockerizing techniques—including choosing lightweight base images, installing only necessary packages, handling file permissions, defining user privileges, exposing ports, configuring entrypoints, externalizing data, and managing logs—to help developers build secure, efficient container images.

AlpineDockerDockerfile
0 likes · 8 min read
Essential Dockerizing Tips: From Base Image to Log Rotation
MaGe Linux Operations
MaGe Linux Operations
Nov 28, 2018 · Fundamentals

Essential Checklist for Designing Clean Python Library APIs

This article distills key recommendations from a 2017 PyCon talk into a practical checklist for building Python library APIs, covering simplicity, consistency, flexibility, and security to help developers create intuitive, reliable, and well‑structured interfaces.

API DesignLibraryPython
0 likes · 11 min read
Essential Checklist for Designing Clean Python Library APIs