Menu
Build time: When coffee becomes code.
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
Null checks Memes
Posts tagged with Null checks
Very Clean Code
Programming
Javascript
Debugging
Typescript
8 months ago
319.5K views
0 shares
THE AUDACITY! This code is checking if a user is NOT null, then returning the user... but if the user IS null, it returns null?! WHAT IS EVEN THE POINT?! 💀 It's like putting on a raincoat during a thunderstorm then immediately jumping into a swimming pool. The entire if-statement is so gloriously redundant it deserves its own monument in the Hall of Fame of Unnecessary Code. This is what happens when you're paid by the line instead of functionality. Chef's kiss of inefficiency! Just write return user and call it a day, PLEASE!
Today's picks
Genuinely Can't With These People
Cloud
2.1M views
2 days ago
Beelink Ser5 MAX mini PC, AMD Ryzen7 6800U (Up to 4.7GHz,8C/16T), 24GB LPDDR5 500GB PCle4.0 SSD,mini Computer Support 4K Triple Display/2.5G LAN/WiFi6/BT5.2, Home/Office W11 Pro Mini Desktop Computer
Affiliate
$409.00
The 4th Joke
Javascript
185.7K views
3 years ago