#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Imperartive or functional? Any improvements?
·
Users Rust Lang
·
April 17, 2026, 11:47 a.m.
programming
Functional programming
software development
Rust
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
[Announcing] Kova: A relational ORM with zero query macros, zero trait imports, and flat compile-time types
Users Rust Lang ·
Nov 10, 2026
programming
software development
Deser: Rethinking Rust Serialization
Armin Ronacher ·
Sep 29, 2026
programming
software development
How to speed up the Rust compiler in September 2026
nnethercote ·
Sep 30, 2026
programming
software development
Building a bike computer from scratch
marvinhagemeister ·
Nov 10, 2026
Bike Computer
Software Optimization
30 years of Internet transfers with curl
Daniel Stenberg ·
Nov 10, 2026
cURL and libcurl
curl
Monads in Lean
Eli Bendersky ·
Nov 11, 2026
Misc
lean
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.