#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join now
→
Learn more
TOPICS
Imperartive or functional? Any improvements?
1
·
Users Rust Lang
·
April 17, 2026, 11:47 a.m.
Rust
programming
software development
Functional programming
Summary
The blog post poses a question regarding the use of `env::current_dir().unwrap_or_else(|_| PathBuf::from("."))` in a Rust context, suggesting a possible oversight or improvement in the implementation when compared to using `PathBuf::from(".")`.
Read full post on users.rust-lang.org →
MORE POSTS LIKE THIS
Chess engine written in Rust
Users Rust Lang ·
Jul 21, 2026
Rust
Chess Engine
This Week in Rust 658
this-week-in-rust ·
Jul 2, 2026
This Week in Rust
Rust
We have proof automation now
Adam Langley ·
Jul 26, 2026
dependently-typed languages
proof automation
Thoughts about the Leiden Declaration
Gowers Wordpress ·
Jul 26, 2026
AI and maths
AI
PostgreSQL's MVCC is bad. So is everyone else's.
Radim Marek ·
Jul 27, 2026
postgresql
database-design
Seriously, what is the large code-model even for?
fzakaria ·
Jul 27, 2026
large code model
software development
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google