Are you preparing a technical talk? Want to put some code up on slides?

Don’t. Do. It.

Slides with lots of text are difficult to read. Slides with lots of code are really, really difficult to read. You’ll lose your audience quickly.

But if you must…

Draw attention to key areas. The shapes, colors, patterns in the code. Here are two samples from people who do it better than anyone else I’ve seen: Sandi Metz and Katrina Owen:

Sandi Metz - All the Little Things

Sandi Metz - All the Little Things

Katrina Owen - Therapeutic Refactoring

Katrina Owen - Therapeutic Refactoring

Enjoy these brilliant talks. Learn from the best.

But please, please don’t put code in slides unless you absolutely must.