Menu
The @ symbol was chosen for email in 1971.
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
445.2K 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
Oh Boy
Debugging
195.5M views
8 days ago
New Compression Technique
AI
49.3M views
1 month ago
The Address
Networking
36.1M views
2 months ago