#
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
Defending against exceptions in a scope_exit RAII type
·
Raymond Chen
·
April 24, 2026, 3:26 p.m.
Code
Old New Thing
RAII
Exception Handling
C++
programming best practices
Summary
This blog post discusses the topic of handling exceptions in a RAII (Resource Acquisition Is Initialization) context using a scope_exit mechanism, but suggests that perhaps the effort to address this issue may not be justified.
Read full post on devblogs.microsoft.com →
MORE POSTS LIKE THIS
The Design Patterns Handbook: Learn Popular Design Patterns with C# Code Examples
freeCodeCamp.org ·
Sep 7, 2026
C++
Design Patterns
A little helper class for managing LPPROC_THREAD_ATTRIBUTE_LISTs
Raymond Chen ·
Aug 14, 2026
Code
Old New Thing
C++ to Rust -- Exceptions
Users Rust Lang ·
Apr 24, 2026
C++
Rust
C++ programmer's guide to undefined behavior: part 12 of 11
PVS-Studio blog ·
Jan 22, 2025
Cpp
Knowledge
Soft-deprecating re.match()
hugovk ·
Sep 10, 2026
Python
Regular expressions
Solod 0.4: Better C interop
nalgeon ·
Sep 12, 2026
Go
C++
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
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
.