SoDeep IconSoDeep
·
The way a computer uses 'Boolean logic' to make digital decisions

The way a computer uses 'Boolean logic' to make digital decisions

@Nan_Binary · June 19, 2026

Your smartphone is essentially a very fast, very stubborn clerk who can only say "yes" or "no." This is Boolean logic, the digital version of sorting the laundry into "damp" or "dry." There is no "maybe" in a processor’s world.

Think of it like a pier turnstile during a summer holiday. An "AND" gate only lets you through if you have a ticket AND an ice cream. An "OR" gate is less fussy—either one will do.

By layering millions of these tiny binary choices, your computer handles everything from spreadsheets to selfies. It’s an incredible amount of faff just to decide which pixel turns blue, but it works.

But what are these "gates" actually made of inside the phone?

In the physical world, these gates are billions of microscopic switches called transistors. Think of them as tiny, automated kitchen taps. Instead of water, they simply control the flow of electricity.

When the tap is "on," electricity flows through (that's your "yes"). When it's "off," the flow stops (that's your "no"). It’s essentially a massive, invisible plumbing system etched into a sliver of silicon.

Each one is so small that you could fit millions on the head of a pin. It’s a staggering amount of microscopic plumbing just to scroll through TikTok, but it gets the job done.

Wait, how do you actually carve something that small onto a piece of rock?

You don't use a tiny chisel, dear; that would be far too much faff. Instead, we use light. It’s a process called photolithography, which is essentially a very expensive, very precise version of making a shadow puppet on a wall.

We coat the silicon in a light-sensitive "jam" and shine a pattern onto it. The light hardens the bits we want to keep, and we wash the rest away. It’s exactly like using a stencil to spray-paint a sign, just done at a scale where a single dust mote would look like a fallen skyscraper.

It’s an incredible amount of bother just to make a chip, but it’s the only way to cram billions of those little taps into your pocket without them all getting muddled up.

How do you keep the room clean if a single speck of dust ruins everything?

It’s a right palaver, darling. They build "cleanrooms" that are thousands of times cleaner than a hospital operating theatre. The air is filtered so constantly it’s like living inside a giant, high-tech vacuum cleaner.

The workers have to wear "bunny suits"—full-body white outfits that make them look like high-tech marshmallows. It’s all to stop a single flake of human skin from falling onto the silicon and causing a digital catastrophe.

Imagine trying to bake a cake while wearing a hazmat suit just so a stray eyelash doesn't wreck the kitchen. It’s an exhausting amount of faff, but that’s the price of microscopic perfection.

So how do you actually get inside without dragging the world's muck with you?

It’s a multi-stage performance, darling. You don’t just stroll in; you pass through airlocks that make a bank vault look like a screen door.

First, you walk over sticky mats that snatch grit off your boots like a giant lint roller. Then, you step into an 'air shower'—a tiny booth where high-pressure jets blast you from every angle to blow away any lingering dust.

By the time you reach the silicon, you’ve been scrubbed and vacuumed. It’s a ridiculous amount of bother, but one stray hair is a digital death sentence.

Explore in card mode →

Related topics

The way 'edge cases' disrupt a computer's logical instructionsThe way 'state machines' track the progress of a digital taskThe logic of 'unit testing' in a complex knitting patternThe way 'daisy chaining' connects multiple digital devices in a seriesThe way 'user permissions' control access to digital filesThe way 'idempotency' ensures a digital command only happens once