Cognitive Load and Your Development Environment

Rate this content
Bookmark

There's lots of information out there about reducing cognitive load for users, but what about developers? This talk will cover Cognitive Load Theory, how some disabilities affect it, and designing a development environment around it.

This talk has been presented at C3 Dev Festival 2024, check out the latest edition of this Tech Conference.

FAQ

Cognitive load refers to the amount of available memory and cognitive resources required to perform a task. It is the mental effort needed to process and store information.

Cognitive overload occurs when a task requires more cognitive resources than one can sustain. Factors such as task complexity, presentation of information, and external conditions like lack of sleep or physical discomfort can contribute to cognitive overload.

External factors such as lack of physical resources (food, sleep, water), physical discomfort, emotions, chronic stress, and disabilities can reduce the cognitive resources available for a task, thus increasing cognitive load.

Disabilities can both decrease available cognitive load and increase the cognitive load required for tasks. For example, sensory processing disorders and learning disorders like dyslexia can make it harder to process information, requiring more cognitive resources.

Intrinsic cognitive load refers to the inherent difficulty of the concept being learned. For example, rocket science has a higher intrinsic cognitive load compared to simple arithmetic.

Extraneous cognitive load refers to the difficulty related to the way information is presented. Poorly organized or overly complex presentations can increase extraneous cognitive load.

Germane cognitive load involves the mental effort required to process information and store it in memory. It is about understanding and remembering the information.

Instructional design can reduce cognitive load by presenting information in a clear and organized manner, considering the audience's needs. This includes using multiple formats like diagrams, mental models, and breaking down complex information.

Context switching is detrimental because it forces the brain to repeatedly erase and rewrite its mental notes, which is taxing and inefficient. It prevents deep focus and increases cognitive load.

Strategies to manage cognitive load include taking physical and mental breaks, reducing context switching, using organizational systems to declutter your mental whiteboard, automating tasks, and optimizing your development environment (e.g., closing tabs, turning off notifications).

Abbey Perini
Abbey Perini
19 min
15 Jun, 2024

Comments

Sign in or register to post your comment.

Video Summary and Transcription

Cognitive load is the thinking load that can lead to cognitive overload. Disabilities can increase cognitive load, and reframing tasks can reduce it. Information presentation affects cognitive load, with intrinsic, extraneous, and germane cognitive load. Focus and context switching should be managed to optimize workflow and reduce cognitive load. Opening a PR can be simplified with task automation, and optimizing workflow involves reducing distractions and utilizing tools. Prioritizing personal coding skills and reducing cognitive load are key to success.

1. Introduction to Cognitive Load

Short description:

Hi, my name is Abby, and I'm here today to talk to you about Cognitive Load and your development environment. Cognitive load is basically your thinking load. Cognitive overload is triggered by a task or tasks requiring more cognitive load than you can sustain. Many factors determine how much cognitive load you can sustain before hitting cognitive overload. Aspects of the task itself, the way information is presented, the amount of information, and the complexity of the information all affect cognitive load. External factors like lack of physical resources, physical discomfort, emotions, chronic stress, disabilities, chronic pain, and memory-related conditions also influence cognitive load.

Hi, my name is Abby, and I'm here today to talk to you about Cognitive Load and your development environment. I have a blog that has all the information in this talk and more, so if you're looking for more information about something I say, like documentation or just more detail, it's probably in the blog, as well as how the people who study this apply it to real day life and more. So I have the QR code here with the link to the slides, and I'll drop all of this in the Discord during the Q&A session as well.

So what is cognition or cognitive? These are fancy words for thinking. Cognition is the noun and cognitive is the adjective. So cognitive load is basically your thinking load. In other words, the amount of available memory and cognition resources you have. In other words, you only think about so many things at once, and you can only remember so many things at once. Cognitive load is also the term for the amount of memory and cognition resources a task requires, because in psychology, we can't make things easy.

Cognitive overload, on the other hand, is triggered by a task or tasks requiring more cognitive load than you can sustain. You are probably thinking, wow, this is a lot of fancy terms, but you're probably familiar with the sensation, which is when I would play this video for about 40 seconds of constant notifications. So after hearing all those constant notifications, you may be thinking things like, which notification would I even respond to first? How am I going to break down all of those notifications so I even know what I need to respond to? And those are the kinds of questions you start asking yourself when you enter cognitive overload.

Many factors determine how much cognitive load you can sustain before hitting cognitive overload. Aspects of the task itself affect how much cognitive load a task requires, so how long you have to focus. The way information is presented to you, the amount of information, and the complexity of the information itself are all going to determine how much cognitive load a task requires. External factors affect cognitive load that is available to you. Lack of physical resources, if you need food, sleep, water, you're probably going to be dedicating at least a portion of your cognitive resources to getting those things rather than dedicating all of your cognitive load to the task at hand. Physical discomfort, like pain, very similar. If you are in pain, you are probably thinking about it, which means those resources are not resources that you can dedicate to the task at hand. Emotions, on the other hand, the relationship is very complex. We all have that coworker who loves spite-driven development, and we have the coworker who can only focus and go deep when everything is calm and copacetic. Chronic stress, on the other hand, over time, decreases your available cognitive load. If you've been stressed for multiple weeks, you may notice that it's a little bit harder to think, a little bit harder to go deep on problems, and that's because your stress is affecting your available cognitive load. Disabilities can decrease your available cognitive load. Anxiety, basically chronic stress. Post-traumatic stress disorder, also chronic stress, but PTSD has symptoms that will take you out of the present moment. You'll have to dedicate all of your cognitive load to dealing with them, making doing menial tasks difficult. Chronic pain, another type of chronic stress, but your nerves will be firing off sensations that you are almost guaranteed to have to focus on. So chronic pain, over time, will decrease your available cognitive load, just like chronic stress. Dementia, Alzheimer's, and amnesia are all affecting your memory.

2. Disabilities and Cognitive Load

Short description:

If you have less memory to use, then you have less available cognitive load. Disabilities can also increase the amount of cognitive load a task requires. Sensory processing disorder, auditory processing disorder, dyslexia, traumatic brain injury, executive dysfunction, attention deficit hyperactivity disorder, and autism spectrum disorder all affect cognitive load.

If you have less memory to use, then you have less available cognitive load. Disabilities can also increase the amount of cognitive load a task requires. So sensory processing disorder. I have an auditory sensory processing disorder, so if people are talking to me, I'm usually a few seconds behind. It takes me a little bit more time and cognitive resources to understand what people are saying, and that requirement only goes up the more people are talking at once.

A learning disorder, like dyslexia, on the other hand, someone with dyslexia would prefer to hear things spoken to them. Reading something in text is going to take more cognitive load than hearing it spoken aloud, which is why a lot of people with dyslexia use a screen reader to navigate websites. They are able to get through that information much faster. Some disabilities both decrease your available cognitive load and increase the cognitive load that tasks require. A traumatic brain injury really depends on which part of your brain is affected. If it's your language processing center, then the it will probably present much like an auditory processing disorder. If it's the part of your brain that allows you to keep track of time, then tasks requiring keeping track of time are going to take more cognitive resources. If the part of your brain controlling executive function, which is the big front part, is affected, then your ability to plan, control your impulses, and direct your attention are the things that are going to be affected, which is why attention deficit hyperactivity disorder is the worst possible name for this disorder.

I have plenty of attention. It's directing the attention that is the problem. It's an executive dysfunction. That's what I struggle with. The popular joke is, you know, ADHD, look, squirrel. That's because I have a hard time directing my attention away from things that are interesting, but also a hard time directing my attention towards things that are very boring. So if you give me an interesting task, such as in a video game, I can do that all day long. But if you need me to wash the dishes, that's going to be a little bit more of a struggle. It's so boring. It happens every single day. It's because we have an interest-based nervous system. If you give us things that are novel or interesting, we're going to have a great time. But just because it's important, like a neurotypical importance-based nervous system, doesn't really register the same for us. Autism spectrum disorder is a little different. There's some research showing that the verbal working memory, so how many words someone with ASD can hold in their brain at once, is lower to start. But also sensory information comes in at the same level of importance as every other stimulus. So they have to dedicate cognitive resources to filtering out that information.