Get the latest tech news

Fizz Buzz without conditionals or booleans


I got nerd-sniped and had to try to solve this.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Booleans

Booleans

Photo of Fizz Buzz

Fizz Buzz

Photo of conditionals

conditionals

Related news:

News photo

Imagining a language without booleans

News photo

Everything About Bitflags: How to store up to 32 booleans in one value?

News photo

Booleans Are a Trap