Logo
AI is no match for Natural Stupidity.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Boolean conversion Memes

Posts tagged with Boolean conversion

Is There A Better Way To Do This

Javascript Programming Debugging Typescript
1 year ago 342.0K views 1 shares
Is There A Better Way To Do This
Ah, the classic "let me check every possible capitalization pattern" approach! This developer is manually checking for true , True , TRue , TRUe and then the same for false variants instead of just using toLowerCase() once and comparing to a standard value. The function even returns maybe if neither pattern matches, which is both hilarious and terrifying for Boolean logic. Somewhere, a computer science professor is feeling a disturbance in the force. This is the kind of code that makes code reviewers develop eye twitches and start muttering "string.toLowerCase() === 'true'" in their sleep.

Today's picks

World's Okayest Game Developer Coffee Mug Funny Gift, 11-Ounce White

World's Okayest Game Developer Coffee Mug Funny Gift, 11-Ounce White

Affiliate
$14.95
Fucking Home Depot live chat

Fucking Home Depot live chat

Programming
150.7K views 5 years ago
Let's be real for a sec.

Let's be real for a sec.

Programming
84.6K views 3 years ago