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?
8 months ago
233,240 views
0 shares
rust-memes, python-memes, syntax-memes, language-confusion-memes, compiler-errors-memes | ProgrammerHumor.io
More Like This
The Bell Curve Of Type Declaration Enlightenment
6 months ago
324.3K views
0 shares
The Rust Developer's Bargain
7 months ago
314.9K views
0 shares
The Brutal Truth About Programming Language Personalities
4 months ago
369.1K views
1 shares
Slapping On A .Expect Is Also Error Handling!
4 months ago
216.8K views
0 shares
When Your Tech Stack Is Hotter Than Your User Count
7 months ago
264.8K views
0 shares
Rust Is Blazingly Fast (And We Won't Shut Up About It)
7 months ago
221.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp