×
Coding

In-depth Discussion of Java Tiered Compilation

This article primarily discusses Tiered Compilation in the Java Virtual Machine (JVM) and its impact on program performance.

Fall Into the Trap of Java Interface

This article introduces the experience of encountering errors in code and the potential for one line of code to have different effects in different scenarios.

Eliminate If-Else with Strategy Pattern | A Summary of the Smart-Auto Refactoring

This article provides a step-by-step guide on how to apply the strategy pattern to simplify complex code.

How to Use the Chain of Responsibility Pattern in Business Code

This article provides a comprehensive guide as to CoR’s definition, benefits, suitable scenarios, practical examples, and detailed implementation steps to introduce how to use it within business code.

Common Java Code Defects and Solutions

This article summarizes common code defects and solutions encountered in daily development to provide helpful insights.

Practice and Reflections on Vectorized Code: How to Speed Up Code with Vectorization Technology

This article analyzes the vectorization technology, explains SIMD instructions, and introduces how to write standard vectorized code.

A Comprehensive Discussion on C++20 Coroutines

This article is an introduction to C++20 coroutines. It provides a comprehensive explanation of the concept and implementation of coroutines

Spring Circular Dependency

This article introduces the principle of Spring circular dependency and gives the circular dependency scenarios and cases that Spring cannot support.

Java Annotation Processing Tool - AbstractProcessor

This article provides a detailed description of how Java annotation processors work and how they automatically generate code.

The Art of Code Comments: Does Good Code Need Comments?

This article discusses code comments, including their importance, significance, and controversies.

An Introduction to RSocket: Servlet vs. RSocket

This article explains some basic knowledge of RSocket by comparing Servlet and RSocket.

Java Programming Skills: The Simplified Methods of Unit Test Cases

This article summarizes the simplified methods of more than ten kinds of test cases to promote Java unit tests and make it simpler when writing unit test cases.

The Invalid Unit Tests We Wrote

This article summarizes a set of methods and principles to avoid writing invalid unit test cases through daily unit test practice.

Higress Practice: Use 30 Lines of Code to Write a Wasm Go Plugin

This article introduces a Demo of Open-Source Higress and explains the principle and mechanism behind it.

Java 8 Lambda Implementing Source Code Parsing

This article explores the design and implementation of Java 8 Lambda from the source code level.

Code Smell - High Cyclomatic Complexity with Multi-Layer Nesting

This article introduces cyclomatic complexity and discusses good/bad code smells.

Case Study: How to Eliminate Bad Code

The case study compares the code before and after refactoring from the perspectives of structural design, code readability, and robustness.

Five Writing Skills Effectively Improving Unit Testing Practices

This article discusses different writing skills that can improve unit testing practices.

A Deep Analysis of Virtual Keywords

This article introduces virtual and explains how it works ad why it is necessary.

Flutter IM Cross-End Architecture Design and Implementation

This article discussed the architecture design and implementation of Flutter IM.