Loading…
Loading…
There's an empty file on main — a colleague is creating a new utility. They've sent a PR that adds a function to total paid orders and some sample data. Your job is to read the diff and find the naming problems.
Before hunting for specific problems, read the whole file beginning to end. Ask yourself three questions: 1. What does this code do? 2. Did I understand its purpose in 10 seconds of reading? 3. Which words sound vague? If after 10 seconds you're still thinking "what is happening here?" — there are naming problems. Click "Next step" when you're ready.