LEX BLOG - The personal blog for 但为君故
但为君故
但为君故

人生若只如初见,何事秋风悲画扇

LATEST POSTS

Some classical ciphers and implementations

23 February, 2024
CRYPTOGRAPHY

This article explores classical ciphers historically used. In the past, amid low productivity and primitive computing, these ciphers offered protection.

How to explain The halting problem

22 February, 2024
PROGRAMMING

How to explains the Halting Problem's unsolvability in computing, referencing Alan Turing's work. Let’s start with a simple Java login function and a example.

The await-to-js

14 February, 2024
JAVASCRIPT

Handling asynchronous function errors and result more elegantly.

The Usages and traps of useEffect in React

5 February, 2024
REACT

The article discusses the challenges and pitfalls of using useEffect in React, emphasizing its proper application for idempotent view initialization and refresh, cautioning against non-idempotent operations to avoid inconsistencies between data and UI.

Why the graphql is better than restful in math conclusion?

20 January, 2024
PROJECT-PRACTICE

This article analyzes GraphQL's unique capabilities in API design, highlighting its advantages over REST, such as optimized data loading, enhanced data model composability, and improved semantic clarity in queries and mutations.