Menu
Talk is cheap. Show me the 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
7 months ago
297.4K 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
AI Vs Legacy
Programming
567.3K views
28 days ago
Govivo Office Decor - Computer Science Art - Set of 4 Geek Wall Art - Fun Gift For ICT Teacher, Student, Coding Nerd, Computer Programmer, Dad - 8x10 unframed print
Affiliate
$16.97
Real Gentlemen Drink Javascript Coffee And Genuinely Pure Tea
Javascript
117.1K views
1 year ago