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
492,286 views
0 shares
rust-memes, python-memes, syntax-memes, language-confusion-memes, compiler-errors-memes | ProgrammerHumor.io
More Like This
The Rust Memory Safety Trade Deal
1 year ago
475.0K views
0 shares
New To Rust
3 months ago
24.9M views
0 shares
The Price Of Type Safety
1 year ago
571.8K views
1 shares
Meanwhile Java
1 year ago
478.3K views
0 shares
Rust Developer
8 months ago
553.7K views
0 shares
They'll Be Waiting For A While
7 months ago
659.7K views
1 shares
Lexar E300 M.2 NVMe SSD Enclosure, USB-C 10Gbps External SSD Reader/Adapter
Affiliate
External Storage
Lexar
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++