samdeepthink
Author

samdeepthink

Knowledge Planet: Old Dock's Tech Chronicles Zhihu: SamDeepThinking A technical manager who still codes heavily on the front line. From junior developer to tech lead, then tech manager, now leading the whole front‑ and back‑end development team—leveling up along the way. I have some insights on programming, career development, and tech management.

167
Articles
0
Likes
340
Views
0
Comments
Recent Articles

Latest from samdeepthink

100 recent articles max
samdeepthink
samdeepthink
Jul 30, 2026 · Backend Development

Live Refactor: Turning a Messy Java Registration Method into Intent‑Clear Code

The article demonstrates how a convoluted Java user‑registration method—filled with magic error codes, inline regex checks, deep nesting, and mutable parameters—can be systematically refactored by introducing meaningful exception types, extracting password validation, applying early‑return style, and using immutable request records to produce clear, intent‑driven code.

Best PracticesImmutabilityclean code
0 likes · 7 min read
Live Refactor: Turning a Messy Java Registration Method into Intent‑Clear Code
samdeepthink
samdeepthink
Jul 29, 2026 · R&D Management

Lessons from Linus Torvalds’ Autobiography: Teamwork, Laziness, and Sustainable Engineering

The author reflects on Linus Torvalds’ autobiography, highlighting four key insights—collaborative teamwork over solo coding, purposeful laziness and delegation, the value of steady long‑term productivity over sleepless bursts, and focusing on real user needs rather than technology for its own sake.

Just For FunLinus TorvaldsSoftware Architecture
0 likes · 5 min read
Lessons from Linus Torvalds’ Autobiography: Teamwork, Laziness, and Sustainable Engineering
samdeepthink
samdeepthink
Jul 28, 2026 · Backend Development

Why Ignoring Non‑Critical Alerts Is Safe When Core Services Are Monitored

The author explains that when core business modules are properly monitored with structured logs and dedicated alert groups, a flood of non‑critical alerts can be ignored, shares a lightweight Java StructuredLog utility, and outlines best practices for real‑time monitoring and log standardization.

Backend DevelopmentDingTalkStructured Logging
0 likes · 9 min read
Why Ignoring Non‑Critical Alerts Is Safe When Core Services Are Monitored
samdeepthink
samdeepthink
Jul 27, 2026 · Backend Development

WeChat Pay Integration Walkthrough: From Order Creation to Callback Confirmation

This article walks through a production‑grade WeChat Pay V2 integration, detailing the multi‑layer architecture, required configuration, unified order parameters, thread‑safe service usage, signature generation, and a four‑step callback verification process—including signature check, idempotency, amount validation, and active order query—to ensure reliable payment confirmation.

Callback SecurityPayment IntegrationWeChat Pay
0 likes · 18 min read
WeChat Pay Integration Walkthrough: From Order Creation to Callback Confirmation
samdeepthink
samdeepthink
Jul 25, 2026 · Fundamentals

Why Veteran Developers Caution Beginners About IDEs—and the Three Steps to Master First

The article argues that beginners should first grasp the three fundamental stages of Java program execution—compilation, dependency resolution, and runtime—by manually using javac and java, because understanding these processes reveals what an IDE automates, prevents hidden pitfalls, and ultimately empowers confident IDE use.

CompilationIDEProgramming Fundamentals
0 likes · 5 min read
Why Veteran Developers Caution Beginners About IDEs—and the Three Steps to Master First
samdeepthink
samdeepthink
Jul 25, 2026 · Backend Development

Do You Need Strong Coding Skills to Be an Effective Architect?

The author argues that, in most cases, a software architect must possess solid coding abilities because architecture decisions are validated through implementation, and without hands‑on coding the design often fails to meet real‑world constraints.

Backend DevelopmentSoftware Architecturecoding skills
0 likes · 4 min read
Do You Need Strong Coding Skills to Be an Effective Architect?
samdeepthink
samdeepthink
Jul 25, 2026 · Backend Development

Designing a Hundred‑Million‑Scale Like System: Graph Store + KV Approach

The article analyzes the requirements of a massive‑scale like feature, compares small‑scale MySQL implementations with the graph‑plus‑KV architectures used by ByteDance, Kuaishou and Xiaohongshu, and presents a practical hybrid solution based on Redis, MySQL and batch processing to handle hot content and super‑node challenges.

Graph DatabaseIdempotenceKV store
0 likes · 19 min read
Designing a Hundred‑Million‑Scale Like System: Graph Store + KV Approach
samdeepthink
samdeepthink
Jul 24, 2026 · Industry Insights

How Should Companies Hire Programmers in the AI Era?

The article argues that as AI takes over most business code, hiring will shift from pure coding tests to evaluating system‑design skills and the ability to collaborate with AI, emphasizing decision‑making over rote implementation.

AIAI collaborationSoftware Architecture
0 likes · 5 min read
How Should Companies Hire Programmers in the AI Era?
samdeepthink
samdeepthink
Jul 24, 2026 · Backend Development

When Should Domain Objects Contain Methods in a Rich DDD Model?

The article defines a clear rule for placing methods in DDD aggregates: a method belongs inside the domain object only when it can operate solely on data owned by that object, illustrated with order status and marketing activity examples.

Aggregate RootDDDDomain Objects
0 likes · 4 min read
When Should Domain Objects Contain Methods in a Rich DDD Model?