GitLab Duo refactoring tutorial
GitLab's video trains developers on GitLab Duo by following one job: refactoring a C++ application into memory-safe Java. Dave, a developer, does every step on screen.
What works here:
- The learner has a name and a gap. Dave isn't very familiar with C++, so he asks Duo Code Explanation what each part does before he changes anything.
- Each stage ends in a check. He runs the old app from a terminal first. At the end, he builds the Java version and verifies it executes.
- It admits a limit. Larger projects need an iterative approach with Duo Chat. Dave's smaller project goes quickly.
The move: Give your learner a name and one gap in their skills. If a viewer can't say what your learner didn't know at the start, the lesson isn't specific enough.