How a Swedish Teacher’s Method Can Help You Remember C Concepts – Meet the Memory Palace

Jonas von Essen wasn’t a genius. He wasn’t a mentalist. He was a regular school teacher from a small town in Sweden.

But after reading about an old Roman memory technique called the Memory Palace, he decided to test it out. He practiced in the evenings. He trained while walking to work. He filled imaginary rooms in his mind with strange pictures to help him remember names, numbers, and facts.

Within two years, he flew to China and stunned the world by winning the World Memory Championships – not once, but twice. He memorized over 13,000 digits of pi, hundreds of random words, names, faces, and entire decks of cards – all in minutes.

Since then, he’s won “Sweden’s Got Talent”, answered every question on “Who Wants to Be a Millionaire?”, and memorized the names of 500 strangers in a single live audience on Britain’s Got Talent.

His message is simple: anyone can train their memory. You just need the right method.

One of his favorite techniques, the Memory Palace, can even be used to master technical subjects, like software development, especially when learning programming in C.

 

The Memory Palace: The Core Idea

This technique is over 2,000 years old. Roman senators used it to memorize speeches. Jonas used it to win world titles. You can use it to master data types, system calls, or anything else.

Here’s how it works:

  1. Pick a place you know well (your house, school, or office).
  2. Turn what you want to remember into a weird, visual image.
  3. Place those images throughout that space, room by room.
  4. To recall, simply walk through the space in your mind.

 

The trick is to make it vivid and unusual. Your brain remembers weird things much better than plain facts.

 

Memory Tips for C Developers

1. Remembering C Data Types

Suppose you want to memorize these: int, char, float, double, short, long, void.

Imagine this happening in your childhood bedroom:

  • On your bed: a giant integer robot bouncing on the mattress.
  • In your closet: a tiny char – a talking letter “C” – hiding in your shirts.
  • On your desk: floating cups of coffee (float).
  • Under the desk: a double cheeseburger sitting in a briefcase.
  • On the windowsill: a short pencil standing next to a long fishing rod.
  • By the door: a black hole labeled “void” pulling socks into another dimension.

 

Walk through this scene in your mind, and you won’t forget the list.

 

2. Visualizing the Memory Layout in C

In C, memory is organized like this: [text] → [data] → [bss] → [heap] → [stack]

Picture your workplace:

  • On your desk: an open book with code – the text segment.
  • In the drawer: a bag of labeled variables – the data segment.
  • In the locked cabinet: transparent empty containersbss (uninitialized data).
  • Behind your chair: a helium balloon rising – that’s the heap (grows upward).
  • By the door: a pile of plates crashing downward – the stack (grows downward).

 

The direction matters – and so does the location. The Memory Palace helps you keep it all in order.

 

Using the Major System: Turning Numbers into Images

This is a classic trick for memorizing numbers like ports, memory addresses, or error codes.

Each number is matched to a sound, based on pronunciation:

  • 0 = s, z (sounds like “zero”)
  • 1 = t, d (has one downstroke)
  • 2 = n (two downstrokes)
  • 3 = m (three downstrokes)
  • 4 = r (sounds like “four” in many languages)
  • 5 = l (Roman numeral for 50 is L)
  • 6 = j, sh, ch (the “soft” sounds)
  • 7 = k, g (hard sounds, back of throat)
  • 8 = f, v (script 8 looks like f)
  • 9 = p, b (mirror shapes)

 

You turn numbers into consonants, add vowels to form words, and create mental images:

 

For example:

Port 443 (HTTPS)
Digits: 4-4-3 → R-R-M → roam

Imagine a browser with legs roaming the internet.

 

How Jonas Trained

Jonas didn’t start with pi digits or full speeches. He started small:

  • Practiced 10–15 minutes a day.
  • Used his school building as a palace.
  • Turned facts into stories.
  • Regularly reviewed paths – walking through the palace in his mind.
  • Used the Major System to turn numbers into images.

 

His goal wasn’t to become superhuman. It was to use the brain the way it was built to be used – through pictures and locations.

Jonas von Essen went from an unknown teacher to one of the greatest memory athletes on the planet. Not because he was gifted, but because he trained.

 

In our training programs, you’ll learn software development alongside the learning techniques and problem-solving skills that help you build a long-term career in tech. Through the AI Software Engineer program, you gain hands-on experience, structured thinking, and the ability to tackle complex development challenges.

Related articles
שפת התכנות Rust (ראסט) זכתה בתואר "שפת התכנות האהובה ביותר". Rust הפכה לכוח מוביל בתעשייה, כשחברות מובילות כמו אמזון, גוגל ומיקרוסופט כבר אימצו אותה. מה מייחד את Rust?

Rust: The Quiet Revolution in the Programming World

The name of the Rust programming language was inspired by a fungus known for its resilience and rapid growth. Rust has been awarded the title of “Most Loved Programming Language”

Work as a Software Developer

Work as a Software Developer

The field of software engineering is very diverse, each developer requires different skills, different knowledge and different tools, depending on their job. Software development is a term that includes the

This is How the Magic of Software Development Happens

This is How the Magic of Software Development Happens

What’s the Difference Between Front End and Back End, and How Do They Come Together into One Stable System? Imagine a development office in Tel Aviv. An open space, glowing

Leave your details and we will get back to you as soon as possible

*Preferred training location
*Did you specialize in computer science or the exact science in high school?
*Are you willing to undergo security clearance?
Please upload your CV (recommended):
By submitting your application, you confirm that you have read and agree to our Privacy Policy.