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?
10 months ago
304,402 views
0 shares
rust-memes, python-memes, syntax-memes, language-confusion-memes, compiler-errors-memes | ProgrammerHumor.io
More Like This
The Wizard's Knowledge Buffer Overflow
10 months ago
366.8K views
0 shares
Strict Vs Chill Type Systems
6 months ago
361.0K views
0 shares
The Final Final Layer_New(3) - Internet's True Form
3 months ago
427.0K views
3 shares
Best Integer Type
2 months ago
421.9K views
0 shares
Oop At Home:
18 days ago
322.2K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp