Menu
YCombinator: Not just for startups.
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
Syntax-mashup Memes
Posts tagged with Syntax-mashup
What's Stopping You From Writing Your Rust Like This?
Rust
Programming
Debugging
Python
1 year ago
378.0K views
0 shares
This is what happens when a Python dev tries to write Rust without actually learning Rust! The code is a horrifying Frankenstein's monster of Python syntax smuggled into Rust—like that .expect("Failed to read line") that would immediately error out since it's attached to a read operation that already completed. And don't get me started on using match with a dot operator right after! The error handling with Ok(num) => num looks legit until you see that bizarre Err(_) => continue syntax that would make the Rust compiler have an existential crisis. It's basically Python wearing a Rust trenchcoat trying to sneak into the memory-safe club.
Today's picks
Hornet Git Gud Sticker Vinyl Bumper Sticker Decal Waterproof 5"
Affiliate
$4.95
Can Anyone Confirm Accuracy?
Programming
768.3K views
12 months ago
I Choose The Parrot
Python
49.5K views
2 years ago