this post was submitted on 07 Sep 2026
602 points (98.1% liked)
Programmer Humor
33149 readers
889 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I know what the second one does, but what does the first one do?
It's the same thing, but locally scoped. So it only reviews and modifies one file. Helpful when you want to focus on one thing at a time.
Review and modify code.rs