Menu
May your code be bug-free and your deploys be boring.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
1 year ago
462.0K 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
Employee Vs Freelancer Vs Founder Vs Vibe Coder
Programming
291.2M views
21 days ago
NordVPN
Sponsored
VPN
Programming Stickers 110PCS, Vinyl Programming Decals for Water Bottle | Funny Waterproof Programming Stickers for Laptop Guitar Hydroflask Scrapbooking Journaling
Affiliate
$5.99