Menu
The first mouse was wooden. Like a real mouse house.
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
492.3K 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
Apple 2020 Mac Mini with Apple M1 Chip, 16GB RAM, 1TB SSD Storage, Silver (Renewed)
Affiliate
$729.87
Many Years Experience With Friendship
Programming
402.8K views
8 months ago
Computers are people too
Programming
102.7K views
3 years ago