This may look like a bathroom crisis, but it’s actually an educational opportunity.
The study of programming is really the study of language, and, to add more linguistic intrigue to the whole thing, we can even interpret the word “language” in that statement in two different ways.
First, of course, is the fact that programming students learn one or more sets of protocol for communicating with and giving instructions to computers and machinery. The other way to think of programming as the study of language is that the field has its own set of specialized terms and vocabulary that students have to become proficient with if they’re going to get very far in their academic or professional endeavors.
A tricky yet crucial distinction for new programmers to make is understanding the difference between “zero” and “null,” which in ordinary conversation are sometimes used interchangeably. When talking about programming, though, they’re very different, and to help differentiate the two Japanese security consultant and Twitter user @raysato found what he feels is the perfect example in a very unlikely place: the bathroom.
プログラミング初心者がつまづきやすい、0とnullの違いを解説した画像です。 pic.twitter.com/I2JiXO8OUr
— R SATO(佐藤 玲) (@raysato) February 20, 2017
“A lot of new programmers stumble over the difference between zero and null, so here’s an explanatory diagram,” @raysato tweeted. On the left is the concept of zero, represented by toilet paper roll core with no paper left on it. On the right is null, which in this context translates to not having any roll of toilet paper, either new or entirely used up, present.
In other words, “zero” refers to a known quantity equal to 0, while null describes a situation where no data whatsoever exists.
Hopefully, @raysato’s informative tweet will help newcomers to the world of programming clear this conceptual hurdle. On the other hand, the situation shown in the photograph is a major problem for anyone who just wants to use the bathroom, so hopefully @raysato replaced the roll after sending his tweet.
Source: IT Media, Twitter/@raysato

How to escape when you’re trapped in a bathroom with a broken door【Video】
Japanese Twitter user spends eight years stacking toilet paper cores, completes entire wall
Bathroom in Japan has ladies vote for the boyfriend they prefer by the toilet paper roll they use
Reactions to video showing how awesome Japanese toilet paper holders are leave us laughing 【Vid】
Poop Kanji-Drill toilet paper is the best way to accomplish your Japanese studying doo-ties
7-Eleven Japan releases a crazy new viral sandwich: Chocolate Sprinkles and Whipped Cream
Public restrooms in Osaka to get in-stall video screens with ads
Studio Ghibli releases the My Neighbour Totoro tea caddy, with a magical self-closing lid
A secluded British mansion in Chiba is a hidden holy land for afternoon tea lovers
7-Eleven Japan’s latest spicy curry promises to take our voice away, but does it deliver?
Want to buy a giant, rideable robot? Amazon Japan will sell you one
Japanese vending machine sells just one thing at this station
Kyoto’s “ikezu” culture of backhanded compliments explained in hilarious souvenir sticker series
It’s like the samurai era never ended at this beautiful Japanese mountain town
Studio Ghibli releases Catbus pullback keychain that runs like the anime character
Starbucks Japan releases new My Fruit³ Frappuccino at only 34 stores around the country
Japanese onsen egg maker from 100-yen store Daiso needs to be on your shopping list
Cherry blossoms begin blooming in Japan with record-early starts for sakura season
Tokyo government organizes food truck event to clear out delinquent/homeless teen gathering area
Nine amazing off-the-beaten-path cherry blossom spots in Japan for yaezakura and shidarezakura
Stunning central Japan wisteria festival is like a purple fantasy straight out of a Ghibli movie
When will the cherry blossoms reach full bloom in Japan this year?[Forecast]
Studio Ghibli unveils new Rollbahn notebook in honour of Howl’s Moving Castle
Studio Ghibli adds new anime tumblers to its cool streetwear brand in Japan
Universal Studios’ Sailor Moon theme park attraction is finally coming to America
Starbucks Japan unveils new sakura cherry blossom collection for hanami season 2026
Train station platform ramen store closes its doors on half a century of history in Tokyo
Nine great places to see spring flowers in Japan, as chosen by travelers (with almost no sakura)
Starbucks Japan releases first-ever Hinamatsuri Girls’ Day Frappuccino
Studio Ghibli adds new Mother’s Day gift sets to its anime collection in Japan
Virtual idol Hatsune Miku redesigned with look that adds new elements and brings back old ones
Survey asks foreign tourists what bothered them in Japan, more than half gave same answer
Japan’s human washing machines will go on sale to general public, demos to be held in Tokyo
Starbucks Japan releases new drinkware and goods for Valentine’s Day
We deeply regret going into this tunnel on our walk in the mountains of Japan
Studio Ghibli releases Kodama forest spirits from Princess Mononoke to light up your home
Starbucks Japan releases new sakura goods and drinkware for cherry blossom season 2026
Japan’s newest Shinkansen has no seats…or passengers [Video]
Major Japanese hotel chain says reservations via overseas booking sites may not be valid
Put sesame oil in your coffee? Japanese maker says it’s the best way to start your day【Taste test】
No more using real katana for tourism activities, Japan’s National Police Agency says
Post-ramen poo troubles solved by Japanese restaurant chain’s crazy bathroom design
Japanese store curses toilet paper supply to protect it from thefts
Tokyo hotel asks guests to take their used toilet paper with them【Why Does Engrish Happen?】