Menu
The best code is no code at all.
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
Type inference Memes
Posts tagged with Type inference
Why Make It Complicated?
Typescript
Javascript
Programming
Webdev
1 year ago
355.7K views
0 shares
The eternal battle between proper type declaration and chaotic brevity. Top panel shows the responsible adult way with let a: String - explicit, clear, and following best practices. Bottom panel shows what we actually do: String a - because who has time for those extra keystrokes when there's a deadline in 20 minutes and you're already on your fifth coffee? Type inference exists for a reason, and that reason is pure laziness disguised as "efficiency."
The Ironic Type Declaration
C++
Programming
1 year ago
269.5K views
0 shares
The code shows a comment that says "Only gay people use auto" followed by a classic C++ for loop. The irony? The programmer is using cout and other C++ features while shunning the auto keyword that automatically deduces variable types. It's like saying "I only drink artisanal water" while chugging Mountain Dew. The real programmer flex isn't avoiding modern language features—it's writing code that doesn't make your colleagues contemplate career changes.
Today's picks
Razer BlackWidow V4 X Mechanical Gaming Keyboard, Yellow Switches, Black
Affiliate
$89.99
The LeetCode Dunce Cap
Algorithms
395.1K views
11 months ago
Working code
Programming
89.7K views
4 years ago