Chapter 3
The generated code looks clean, but is it right?
Mã máy viết trông gọn gàng, nhưng có đúng việc?
The chapter's question
Do I review AI-generated code differently from human-written code?
Big idea
Code that looks neat is not necessarily code that is right for the company's work.
In this chapter
Part 3.1
Right Syntax, Wrong Logic
Does this code understand the business rules correctly?
Part 3.2
Unfamiliar Libraries
Does the code call libraries or functions that do not exist?
Part 3.3
Edge Cases
How does the code handle empty and invalid data?
Part 3.4
Does the Author Understand It
Can the author explain every part?
The reading for this chapter is inside Conan School
This chapter has 4 readings, with case stories and exercises. Chapter 1 of A Day in the Life of a Code Reviewer is free to read right here.
Read in Conan School