Intermediate Vocabulary #collocations #daily-work

During a Coding Session

5 exercises on the verb collocations developers use while actively writing code. Choose the right verb for the right context.

Key verb patterns
  • refactor a function — improve structure without changing behaviour
  • extract a method — move inline code into a named function
  • add a unit test — increase test coverage (also "write")
  • lint the code — static analysis (not "test" or "compile")
  • push a commit — send to remote (the git word, not "upload" or "send")
0 / 5 completed
1 / 5
A developer improves the internal structure of an existing function to make it cleaner and more readable, without changing what it does. Which phrase is most precise?