In partnership with

Hi, this is Ray.

Confession time: I once tried to memorize 200 Spanish verb conjugations in a single afternoon by rewarding myself with a gummy bear for every correct answer. By hour three, I had the subjunctive mood locked down AND a stomach ache that could fell a hobbit. Was it efficient? Debatable. Was it effective? Shockingly, yes. Did I feel like Professor X training a particularly gluttonous mutant? Absolutely.

It turns out my sugar-fueled descent into conjugation madness wasn't just an excuse to eat candy in my home office (although… it kind of was). It was, quite unintentionally, a crash course in one of the most well-documented principles in cognitive neuroscience: the brain is a shameless reward junkie, and if you know how to work with that fact instead of against it, you can turn almost any boring learning task into something your gray matter actually WANTS to do.

So today, let's talk about sweet treats, dopamine, and why your brain is basically a Golden Retriever holding a PhD.

Your Brain Is a Tiny, Sugar-Obsessed Gremlin

Here's the deal. Deep inside your skull, in a region called the ventral tegmental area (a name that sounds like a rejected Star Wars planet), you have a population of neurons that produce dopamine. These little chemical messengers have one job: to scream "YES, DO THAT AGAIN" every time something good happens to you. According to research in the neuroscience of reward, dopamine neurons fire more strongly when a reward is greater than expected, which increases your desire and motivation to repeat the behavior. This is the same system that makes you check your phone 47 times a day and the same system that made Pavlov's dogs drool at a bell. Congratulations, you are the dog. We're all the dog.

Now here's where it gets interesting for us learners. That dopamine system doesn't just reward you for eating cake. It rewards you for the ANTICIPATION of eating cake. This is why, as researchers at the Netherlands Institute for Neuroscience have shown, sustained dopamine levels appear to function as a motivational bridge between learning and action… a sort of neurological nudge that keeps you reaching toward the reward. In other words, if your brain knows a Reese's Peanut Butter Cup is waiting on the other side of that flashcard deck, it's going to work a lot harder to get there. It's basically a side quest with loot.

This is called operant conditioning, and B.F. Skinner built an entire career on it. If you've ever trained a puppy, you already know the system. Sit → treat. Good boy → treat. The puppy learns. Your brain, friends, is not meaningfully different from the puppy. It's just slightly better at pretending to be sophisticated.

From our Partners at: The Brain

Find out why 200K+ engineers read The Code twice a week

Staying behind on tech trends can be a career killer.

But let’s face it, no one has hours to spare every week trying to stay updated.

That’s why over 200,000 engineers at companies like Google, Meta, and Apple read The Code twice a week.

Here’s why it works:

  • No fluff, just signal – Learn the most important tech news delivered in just two short emails.

  • Supercharge your skills – Get access to top research papers and resources that give you an edge in the industry.

  • See the future first – Discover what’s next before it hits the mainstream, so you can lead, not follow.

But Wait… Sugar Actually Fuels the Brain?

Yes. And this is where it gets legitimately cool and not just a convenient excuse to raid the pantry.

Your brain is a ridiculous energy hog. It's about 2% of your body weight but burns through around 25% of your available glucose at rest. Think about that. Your squishy gray thinking-meat is a gas-guzzling V8 engine in a world of Priuses. And its fuel of choice? Glucose. That's sugar. That's literally what it runs on.

Scientists have spent decades studying something called the "glucose facilitation effect," which is a fancy way of saying: when you give people a hit of glucose, their cognitive performance often goes up during the window that glucose is elevated in the bloodstream. A systematic review of neuroimaging studies found that glucose administration enhances neurocognitive markers of episodic memory and attentional processes, often lighting up the hippocampus and prefrontal cortex on fMRI scans. The hippocampus, by the way, is the brain's save-game folder. It's where new memories get written to disk. A well-fueled hippocampus is the difference between "I totally got this" and "wait, what was I reading about?"

So when you eat a square of dark chocolate before diving into your Anki deck, you're not being a glutton. You're doing applied neuroscience. You are, dare I say, a scholar.

The Catch (There's Always a Catch, Frodo)

Okay, before you run off to Costco for the 48-pack of Kit Kats, let me play Gandalf for a second: "You shall not pass… out from a sugar crash at 3pm."

Because here's the thing. Sweet treats are like the One Ring… powerful, seductive, and absolutely capable of corrupting you if you don't treat them with respect.

Research has repeatedly shown that while acute glucose can give you a short-term cognitive boost, chronically high sugar intake is linked to memory deficits, reduced brain volume, and neuroinflammation in regions crucial for memory. One animal study linked excess glucose consumption to memory and cognitive deficiencies over time. So you can't just main-line Mountain Dew all day and expect to become Hermione Granger. Life is sadly not a fanfic.

The move here is strategic dosing. Small, intentional rewards (timed to specific learning milestones) rather than a nonstop snack-hose.

How to Actually Use This (The Ray Blakney Patented™ Method)

Here's where we stop theorizing and start doing. Based on the research on self-reinforcement, self-reinforcement is the process of rewarding yourself for achieving specific target goals, and it's been shown to enhance on-task behavior and academic accuracy. It's a real, studied, documented technique. It's not just me rationalizing my chocolate habit. (Although it is also that.)

Here's how I do it when I'm trying to learn something that makes my eyes glaze over:

1. Define a micro-milestone. Not "learn Spanish." That's a goal for sociopaths. Something like "get through 20 flashcards" or "complete one chapter" or "write 300 words of the thing I've been avoiding."

2. Pre-commit to the treat. The reward must be decided BEFORE you start. Why? Because dopamine anticipation is half the magic. If you just snack while you work, you're not training anything… you're just eating. The contract matters.

3. Keep the dose small. A single dark chocolate square. Three gummy bears. Half a cookie. We're aiming for a dopamine ping, not a blood sugar tsunami. Remember: you're a Jedi, not a Sith. Restraint is the whole point.

4. Do the thing. Eat the thing. Complete the micro-milestone, then claim your loot like you just cleared a dungeon in Zelda. Seriously, make a small ceremony of it. The ritual strengthens the association.

5. Repeat. This is where the actual neuroplasticity kicks in. A study on habit formation found that pleasure and intrinsic motivation significantly strengthened the connection between behavior repetition and habit formation, effectively accelerating how quickly a new behavior became automatic. Translation: the more consistently you pair "study" with "tiny treat," the more your brain starts treating study sessions themselves as the reward. Eventually, you won't even need the candy. Your brain will have been quietly rewired. You beautiful, sneaky Pavlovian mastermind.

The Plot Twist: You're Not Actually Motivating Yourself With Sugar

Here's the secret level of this whole thing, the post-credits scene.

The sweet treat isn't really what's motivating you. It's a placeholder. It's the training wheels. You're using a simple, reliable, tasty stimulus to bootstrap a much more sophisticated reward loop… one where the learning itself starts to generate its own dopamine hits. Get a flashcard right. Ping. Understand a concept that confused you yesterday. Ping. Finish a chapter. Ping.

The candy is just there to remind your brain, in the early days, that learning can feel good. Once that connection is wired in, the external reward becomes optional. You've essentially hacked the reinforcement learning algorithm your brain was already running. You've gone from "ugh, I have to study" to "ooh, what's next?"

This is the real goal. The Kit Kat is a means to an end. The end is becoming someone whose brain looks forward to learning, the same way it currently looks forward to opening Instagram. Imagine that. Imagine being that person. They exist. You can be one of them.

You just need to be strategic, kind to yourself, and willing to look mildly ridiculous eating a gummy bear every time you conjugate a verb correctly. I, for one, have fully embraced the ridicule. My dentist has opinions. My brain has a growing Spanish vocabulary. We're all making tradeoffs.

So go forth. Learn something. Reward yourself. And if anyone asks why you're eating chocolate at 10am on a Tuesday, just say "applied neuroscience" and walk away like the intellectual rebel you are.

Keep learning,

Ray

P.S. If you're now craving something sweet, that's just classical conditioning kicking in from reading the word "chocolate" 14 times. You've been trained. We've all been trained. Embrace it and then use it for good.

Keep Reading