×
Coding

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.

The Use of Vector Rotation in a Two-Dimensional Space

This article will explain the principle of vector rotation in a two-dimensional space.

"When Can the Operating System Be Recognized?" A 16-Year Insistence of Open-Source Developers

This article is an in-depth interview with Tao Ma, Chairman of OpenAnolis.

200 Lines of Code to Rewrite the 600'000 Lines RocksDB into a Coroutine Program

In this article, we will introduce how to transform a large-scale database program from threads to coroutines.

Build Standardized Applications with Webpack5 + React + TS from 0 to 1

This article explains how to build a standardized frontend application based on webpack + react + typescript (starting from an empty directory).

Tips for Designing Error Codes in Java

What makes an error message "good"? In this blog, we share some tips on designing effective error codes in Java.

Do You Know the Principle of Lombok That Has Been Used for a Long Time?

This article explains how to write a simple Lombok plug-in.

An Interpretation of the Source Code of OceanBase (11): Analysis of Location Cache Module

This article explains ObTableScan design and code knowledge and introduces the analysis of the location cache module.