Build with reviews
You'll learn to build your app in small pieces, ask for a review with a clear pull request, use AI without losing the understanding, and act on feedback.
Watch & read
Start with the required ones. The others are there when you need them.
Explanation
You have a plan. Now you build it, over a few weeks. You will not build it alone. After each piece, Mamun (or a mentor) reads your code and leaves comments. This is called a code review.
Think of a cricket net session. A coach does not watch you play a full match and then say "bad". He watches ten balls, fixes your grip, and you play ten more. Small pieces, quick feedback.
Work in small pieces. One screen, or one feature, at a time. For each piece, make a branch: a
separate line of work, so main stays working.
git switch -c add-expense-screen# build, test on your phone, commit as you gogit push -u origin add-expense-screen
On GitHub, open a pull request (PR) from that branch. A PR says "here is my change, please check it
before it goes into main". The page shows the diff: every line you added (green) or removed (red).
Write a clear request. Say what the change does, how you tested it, and what you want checked. Add a screenshot. Then say where you are unsure. "I am not sure my total is right when a member is deleted" is the most useful sentence in any PR.
Use AI, and keep the laptop. AI can explain an error, suggest a fix or review your code before Mamun does. The rule from Phase 0 still holds: if you can't explain a line, it doesn't go in the PR. In a review, Mamun may point at any line and ask "why?". "AI wrote it" is not an answer. "It finds the member by id, because names can repeat" is.
Read feedback calmly. A comment is about the code, not about you. Reply to each one. Fix it, or say why you think it should stay. Push the fix to the same branch, and the PR updates itself. When it is approved, merge it, and start the next branch.
People often work for three weeks on one huge branch, then ask for a review of 2000 lines. Nobody can review that well, and the first comment might mean changing everything. Ask for a review every few days, when one screen works.
When you read your own PR before asking, go through the diff line by line. Look for leftover
console.log lines, commented-out code, files you did not mean to change, and any line you cannot
explain.
Code tour
Click a line number with a ring to read the note for that line.
Quick check
3 questions. Each one explains itself after you answer.
- 1 / 3You finished the expense list and the add-expense screen. When do you ask for a review?
- 2 / 3Mamun points at a line and asks why it is there. AI wrote it and you are not sure. What do you do?
- 3 / 3A review comment says "This total is wrong when a member is deleted." What is the best reply?