11 The act of writing code

This chapter covers

  • Comparing different activities people perform while interacting with code
  • Examining how to support your brain in performing different activities more effectively
  • Exploring how interruptions impact your work as a developer
  • Understanding how to use your memory to best recover from an interruption

So far in this book, we have examined what cognitive processes play a role when reading and writing code. In the previous chapters, we looked at how to write code that is easier to read and how to solve problems better.

In this chapter, we direct our attention away from the code itself and instead look at what cognitive processes play a role when you are executing the act of programming. We will first examine ...

Get The Programmer's Brain now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.