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 days ago
70,601 views
0 shares

rust-memes, python-memes, syntax-memes, language-confusion-memes, compiler-errors-memes | ProgrammerHumor.io
More Like This
The Better Language Option
8 days ago
87.6K views
0 shares

That's Not How You Do It
18 days ago
80.3K views
0 shares

Meanwhile Java
14 days ago
86.4K views
0 shares

All Roads Lead To Rust
19 days ago
90.8K views
0 shares

Electron With Extra Steps
10 days ago
77.6K views
0 shares

If Programming Languages Were Human Languages
7 days ago
90.6K views
0 shares

Loading more content...