Get the latest tech news

4 billion if statements (2023)


I recently stumbled upon this screenshot while researching social media on the train. Of course, it was followed by a cascade of spiteful comments, criticizing this fresh programmer’s attempt to solve a classical problem in computer science. The modulus operation.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of statements

statements

Related news:

News photo

Rust 1.88 Released With Improvements For Naked Functions, Chaining Let Statements

News photo

Federal Reserve, FDIC Pull Statements on Crypto

News photo

A Clang regression related to switch statements and inlining