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.
What's Stopping You From Writing Your Rust Like This?
1 year ago
514,182 views
0 shares
rust-memes, python-memes, syntax-memes, language-confusion-memes, compiler-errors-memes | ProgrammerHumor.io
More Like This
Convert Heap To Int
1 month ago
6.2M views
0 shares
Import Regret
9 months ago
683.4K views
0 shares
Rewrite It In Rust
2 months ago
38.5M views
0 shares
I Use Rust Because The Crab Told Me To
22 days ago
80.0M views
0 shares
We Teach A Million Languages In 3 Months
1 year ago
1.2M views
0 shares
Cxx Already Gave Up
8 months ago
481.4K views
0 shares
Software Developer Funny Athletic Lettering Men Women T-Shirt
Affiliate
Apparel
Software Developer Typography Design
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++