Menu
The first computer password was 'password'.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
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
10 months ago
316.4K views
0 shares
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
It's AI Fault
Programming
1.9M views
1 day ago
GearScouts.com
Sponsored
Power stations
For few days
Debugging
55.7K views
3 years ago