Logo
The first emoji was created in 1999 in Japan.
  • 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 371.9K 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

Where's The Love

Where's The Love

Programming
149.4M views 8 days ago
acer Ergonomic Mouse Wireless, Adjustable DPI Vertical Mouse 1000/1200/1600 with 6 Buttons, Rechargeable Ergo Mice with 2.4GHz USB Receiver for Computer, Laptop, PC, iMac and Desktop

acer Ergonomic Mouse Wireless, Adjustable DPI Vertical Mouse 1000/1200/1600 with 6 Buttons, Rechargeable Ergo Mice with 2.4GHz USB Receiver for Computer, Laptop, PC, iMac and Desktop

Affiliate
$19.99
Vibecoding But Done Right

Vibecoding But Done Right

AI
70.4M views 3 months ago