classification
boutiqueJava Development Tips: Reduce the Use of Magic Points
1. Preface When refactoring old code, I encountered similar writing:
public void attend(String value)...
Free boutiqueWhen calculating in Java development, please be sure to use BigDecimal to calculate. BigDecimal summarizes and summarizes
Preface Today, a junior developer in the group asked why the tester tested that the price calculation module he wrote had calculation deviations...
Free boutiqueNew Generation Java Database Driver Specification-Reactive Driver Specification
1. Preface Responsive programming has been around in the Java programming world for a long time. High-performance, event-driven...
Free boutiqueInterpretation of the 2020 JVM Ecosystem Report
1. Foreword The 2020 JVM Ecosystem Report has been released. The report was produced by British software security service provider Snyk and Ora...
Free boutiqueJava random number traps
preface
We should be familiar with random numbers. We use them to generate Captcha in business, or we have low requirements for repeatability...
Free boutiqueUnder what circumstances cannot Java generics be used
1. Introduction Java 1.5 introduces generics to ensure type safety, prevent type conversion exceptions at run time, and allow classes to...
Free boutiquePrinciples of Vernacular Design Models
Why design patterns are needed
In fact, we can complete the development work without a design pattern. But why design...
Free boutiqueComparator and Comparable in Java
1. The previous article in the preface briefly explained java.util.Comparator. Today we will take a look at another one and...
Free boutiqueGet file path in java
1. Introduction In Java development, we often need to obtain the path of a file, such as reading configuration files, etc. Today we will...
Free boutiqueResponsibility Chain Model of Design Model
preface
Many frameworks such as mybatis plug-ins, servlets filter, dubbo, security frameworks such as Spring sec...
Free boutiqueJava enumerates implement state machines to streamline your state change logic
preface
I believe that many java developers have written about status changes, such as order processes, leave processes, etc. Generally...
Free boutiquePrinciples of Java Code Generator
1. Foreword I wrote an article about the Mybatis Plus code generator a few days ago, and many students privately asked me about this code...
Free