---
title: "Comment by Andrey Panin on \"Top 5 Lessons I learned while working with Go for two years\" | Hashnode"
description: "The approach with channels from (1) looks dubious to me. You have omitted the important part explaining it by clarity, but what is missing is important for unde"
url: "https://hashnode.com/posts/top-5-lessons-i-learned-while-working-with-go-for-two-years/60a8fb2e5379f65d10b5f642/comment/60b75d5f25dc276ffb93fcf9"
---

[Discussion](https://hashnode.com/posts/top-5-lessons-i-learned-while-working-with-go-for-two-years/60a8fb2e5379f65d10b5f642)

Comment [Top 5 Lessons I learned while working with Go for two years](https://hashnode.com/posts/top-5-lessons-i-learned-while-working-with-go-for-two-years/60a8fb2e5379f65d10b5f642)

[Andrey Panin](https://hashnode.com/@fenhoya)

[Jun 2, 2021](https://hashnode.com/posts/top-5-lessons-i-learned-while-working-with-go-for-two-years/60a8fb2e5379f65d10b5f642/comment/60b75d5f25dc276ffb93fcf9)

The approach with channels from (1) looks dubious to me. You have omitted the important part explaining it by clarity, but what is missing is important for understanding of the concept. Maybe it's just me.

You have to call `server.Run()` in a goroutine in (4), otherwise your code will block at this method.

[Sayed Alesawy](https://hashnode.com/@sayedalesawy)

[Jun 2, 2021](https://hashnode.com/posts/top-5-lessons-i-learned-while-working-with-go-for-two-years/60a8fb2e5379f65d10b5f642/comment/60b75d5f25dc276ffb93fcf9#reply-60b7bd2b2102c86fd6d18dff)

Yes, you are correct about 4, it was a typo, I corrected it. Thank you!

About 1, I dunno, might be up to taste but I have seen it in a lot of places and written by people who are go contributors actually. It's definitely less verbose but if you are very familiar with channels, it's as understandable in my opinion.
