Всё про ошибки в Go | Полное руководство для работы и собеседований
Materials from the video - https://t.me/igoroutine/73 Programming courses - https://igoroutine.courses/?utm_sourc... This video provides a complete guide to errors in Go, suitable for both everyday development and interviews. We begin with an introduction and review of what an error is in Go, why it is a normal value, and how to properly return an error from a function. Simple examples demonstrate error return conventions, handling nil for custom errors, and typical error handling patterns. Next, we discuss how to get rid of infinite err != nil in some cases when it is justified, and what simple and readable error handling looks like in real code. A large section is devoted to nested errors: wrap, advanced error handling via errors.Is and errors.As, the upcoming AsType in Go 1.26, and combining errors with errors.Join. We also cover custom errors, defer and their interaction with errors, the order of defer execution, handling nil, resource leaks, and classic interview questions about defer, closures, and return. The second part of the video covers panics in detail: what they are, when to use them, the differences between explicit and runtime panics, the guarantees of defer execution, ways to intercept panics, and an example of a real panic handler on the server. We also discuss runtime panics, attempts to implement try-catch in Go, benchmarks for this approach, nil panics, and how it all works in real life. The video concludes with a summary and recommendations for idiomatic error handling in Go. Telegram: https://t.me/igoroutine VK: https://vk.com/igoroutine Instagram: / igoroutine YouTube: / @igoroutine Timecodes: 00:00:00 - Introduction 00:00:24 - What is an error? 00:01:29 - Returning an error from a function 00:01:50 - Function example 00:02:38 - Error Return Agreement 00:03:20 - nil for custom errors 00:08:45 - Getting rid of err != nil (in some cases) 00:11:59 - Simple error handling 00:15:21 - Nested errors (WrapError) 00:21:24 - Advanced Error Handling (.Is, .As) 00:24:35 - .AsType (coming in Go 1.26) 00:25:51 - Joining errors (.Join) 00:28:23 - More about custom errors 00:29:30 - Defer and errors 00:31:25 - Interview Problem (defer, closure, and lambda) 00:34:25 - The order of defer and return 00:35:55 - nil in defer 00:38:27 - defer are called in reverse order 00:39:44 - defer and resource leak 00:41:15 - Additional material 00:41:26 - What is panic? 00:42:43 - How to use panic? 00:45:24 - Explicit and runtime panics 00:46:05 - Guarantees in case of panic 00:48:13 - How to catch panic? 00:54:02 - Example of a panic handler (server interceptor) 00:57:57 - Runtime panic 01:03:19 - try-catch in Go 01:07:39 - Benchmark for try-catch 01:11:04 - Panic from nil 01:12:19 - How does it work in real life? 01:14:52 - Final

New Garbage Collector in Go 1.26! Already Used at Google | Complete GC Guide

Advanced Generics in the Latest Versions of Go | Go Interview Preparation

Обработка ошибок в Go | Дмитрий Лукиянчук | Golang Meetup 2022| СберМаркет Tech

gRPC in Go: From Internals to System Architecture

Как сеньор из VK отвечает на вопросы про Go, SQL и Linux

Начни изучать конкурентность в Go с этого видео

Что делает Java-разработчик в реальной работе? | Scrum, задачи, Git, тесты, финтех
![Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]](https://i.ytimg.com/vi/A92uM-WAbWY/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCmFwnQkmW6aZ3kB9mKw8KcZQTBHg)
Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]

C++ 2026: безопасность, рефлексия, C++ vs Rust, будущее языка – Антон Полухин в Подлодке

Switch to Go in One Video | Advanced Foundation for Work and Interviews

Is Go the most boring language?

РЕАЛЬНОЕ Golang СОБЕСЕДОВАНИЕ на MIDDLE BACKEND РАЗРАБОТЧИКА В ФИНТЕХ! ЗАДАЧИ по Go, SQL!

Memory Explained: RAM, Virtual and External — From Hardware and OS Kernel to Go

Как учиться программированию эффективно?

ВСЁ про JAVA-СОБЕСЕДОВАНИЯ В 2026. ЗАРПЛАТЫ, ЛОВУШКИ, ВОПРОСЫ

Complex Business Logic in Go: Experience and Reality / Vitaly Levchenko (Yandex)

If I were learning testing today, I would do it like this

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

