theory & practice

Teaching a receptive student is a joy.

It is very rewarding to see a colleague abandon sloppy old habits in favor of new ones recently learned, and to see the practice continue to be followed even in your absence.

Learning theory, such as coupling, cohesion, DbC , is essential. But successfully applying theory is also important. At least two points in the software lifecycle offer excellent teaching moments for this:

  1. project planning / architecture / design
  2. pull requests

The first can seem a bit nebulous or theoretical, at least for interns not yet accustomed to the cycle.

2021 interns

The second comes up repeatedly, at each of these stages:

Never squander an opportunity to connect theory to practice in a PR. It is at this point that you have a motivated student in a position to critique a particular software artifact in service of making it the best merge possible. Authors will be receptive to constructive criticism.

Common themes for PR remarks include:

prev next

Copyright 2022 John Hanley. MIT licensed.