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
We recommend not buying one pack of Japan’s new convenience store corn soup-flavor fried chicken
Ohaw? Ruibe? Pocche? While traveling in Japan’s north, we try Ainu cuisine for the first time
Japan’s double-decker portable rice cooker/bento maker is better than ever with new version
Narita Airport Transit & Stay Program returns after six years with free tours and festival experiences
Wait, some Shinkansen trains already have private booths that only cost 1,500 yen for an hour?
Osaka Starbucks has one of the city’s coolest photo vantage points, but it’s going away soon
Sushi Bus: Japan’s first conveyor-belt bus lets you eat sushi while sightseeing around Tokyo
Anime fans can now wear a Seiko watch inspired by Japan’s One Piece Shinkansen
Studio Ghibli unveils new interactive stationery dioramas that bring anime movies to life on your desk
German woman rescued from Mt. Fuji after suffering altitude sickness symptoms, hiking to peak anyway
12-year-old British girl who went missing in Tokyo found safe after visiting anime sites around Yokohama
7-year-old boy left behind on Mt. Fuji by his own dad
Studio Ghibli composer Jo Hisaishi just set three Guinness Records
Japan’s Rabbit Island in danger of becoming Boar Island, tourists asked to follow feeding rules
7-Eleven Japan brings back best-selling flat croissant that became a hit on social media
Stay at a hotel with a bed for your plushie in Japan
Foreign hiker on Mt. Fuji loses consciousness and dies, becoming climbing season’s second fatality
Tokyo subway installing new ticket gates that don’t accept payment through Suica or other IC cards
Air-conditioned dress shirts arrive in Japan to save working professionals from sweltering heat
Pokémon Center Online designates first Pokémon items that will require Japanese ID card to buy
Japanese toilet aims to attract foreign tourists but not everybody is happy about it
Tokyo’s newest viral dessert is like a Japanese parfait inside a bread bun [Taste test]
Japanese Shinkansen becomes an overnight hotel for three nights this summer
New Japanese vending machine at Shinkansen station sells cups of ice on platform
Japan announces sudden 400-percent increase in visa fees for foreigners entering the country
Japan’s human washing machines will go on sale to general public, demos to be held in Tokyo
Studio Ghibli has a new anime out, and there’s only one place in the world where you can see it
Starbucks Japan releases new drinkware and goods for Valentine’s Day
Starbucks Japan releases new sakura goods and drinkware for cherry blossom season 2026
Japan’s newest Shinkansen has no seats…or passengers [Video]
Japanese ninja certification exam attracts 131 candidates from Japan and abroad
Salomon releases Japan-exclusive Mt. Fuji hiking gear that doubles as an amazing souvenir
Put sesame oil in your coffee? Japanese maker says it’s the best way to start your day【Taste test】
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?】