Result types pay off most at the domain boundary, but they get noisy when every infrastructure call can also throw. A split that works well is Result for expected business outcomes, exceptions for things the caller cannot handle, and one adapter layer that turns library exceptions into Results so the two tracks don't mix.
Stop Using Exceptions for Control Flow: Railway-Oriented Programming in C#
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
56Posts
205Comments
164Connections
Passionate about building robust and scalable software solutions with a focus on .NET technologies. ... Show morePassionate about building robust and scalable software solutions with a focus on .NET technologies. With extensive experience in leading teams, designing systems, and mentoring developers, I strive to deliver high-quality, efficient, and maintainable code. I share insights, tutorials, and best practices to help others grow in their software engineering journey. Always eager to learn, explore, and contribute to the tech community
https://www.linkedin.com/in/spyros-ponaris-913a6937/ Show less
https://www.linkedin.com/in/spyros-ponaris-913a6937/ Show less
More From Spyros
Related Jobs
- Senior Software Developer - Serverless - Platform Control PlaneElastic · Full time · Canada
- Contrôleur des Coûts - Cost Controller Data Center Raccords (H/F)Stäubli · Full time · France
- Sr. Software Engineer, Industrial Energy Site Controller, APACTesla · Full time · Australia
Commenters (This Week)
inevolin
3 comments
Fabien B.
1 comment
Sergey Kornilov
1 comment
Contribute meaningful comments to climb the leaderboard and earn badges!