Logo
One missing comma can ruin your whole day.
  • 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

Empty list Memes

Posts tagged with Empty list

Have You Tried Turning It Off And On Again?

Python Programming Debugging
1 year ago 446.7K views 0 shares
Have You Tried Turning It Off And On Again?
This Python code is the programmer equivalent of IT Crowd wisdom. It tries to find the maximum value in an empty list (which will throw an error), then catches the exception by... restarting the script. Essentially coding "have you tried turning it off and on again?" into your error handling. The digital equivalent of kicking the vending machine when your snack gets stuck.

Today's picks

Where's The Love

Where's The Love

Programming
149.4M views 7 days ago
Defabee 12pcs Soldering Station, 2 in 1 Hot Air Functions Digital Display Soldering Iron Soldering Kit, 8898 Portable SMD Rework Station, ºC/ºF Cool/Hot Air Conversion and Auto Sleep

Defabee 12pcs Soldering Station, 2 in 1 Hot Air Functions Digital Display Soldering Iron Soldering Kit, 8898 Portable SMD Rework Station, ºC/ºF Cool/Hot Air Conversion and Auto Sleep

Affiliate
$29.59
NordVPN

NordVPN

Sponsored
VPN