← Back
Nick Chapsas September 11, 2023 9m

The "Terrible" Keyword You Didn’t Know C# Had

Summary

This tech video introduces the underutilized `goto` keyword in C#, demonstrating its use to implement a retry policy for a weather API call. While acknowledging that `goto` is often considered outdated, the presenter argues for its readability in specific scenarios like managing retries with transient errors. The practical takeaway is to understand this feature and consider its potential, though not universal, application for cleaner code.

View original episode ↗