Several Reference Suggestions for Improving Code Quality

Unit Testing What is Unit Testing? Unit testing usually refers to testing a single function or method. The purpose of unit testing is to verify whether the behavior of each unit meets expectations and to quickly detect any potential problems when modifying the code. By writing test cases, we can verify whether these modules produce the correct output for specific inputs. The goal is to ensure that each module runs normally in various situations. ...

April 25, 2023 · 4 min

Several CodeReview Experiences Summarized from Practice

Experienced programmers know that Code Review can greatly improve code quality, enforce coding standards, and enhance team capabilities. As the famous technical expert “Haoel” (Left-Eared Mouse) once said: I believe there is no need to stay in a company that doesn’t do Code Review (because a company that doesn’t do Code Review definitely doesn’t respect technology). — From “The Programmer’s Level-Up Guide - Cultivation” Many tech companies abroad, such as Google and Amazon, value Code Review highly and do it exceptionally well. However, many domestic companies struggle with it, often leading to counterproductive results. Here are some common situations I’ve seen: ...

August 25, 2020 · 3 min

Practical Lessons from a Technical Leader

Introduction Moving from a senior engineer to a Tech Lead is a major shift. Currently, I lead a team of about a dozen people, following Amazon’s “Two Pizza Rule.” I remember initially resisting this role, fearing that management would rob me of my coding time. This post is for those who are just stepping into their first leadership position. Key Questions to Explore: What are the core competencies of a Tech Lead? How does the mindset change from engineer to leader? How can we boost team efficiency and morale? How do we handle communication and self-growth? 1. Leadership and Competencies Developers are an “intelligent and proud” group. To earn their respect, a Tech Lead needs: ...

August 3, 2020 · 3 min