Похожие чаты

The point is fair, bit slightly unrelated. The op has

10 years of coding exp and clearly asked: "it should be easy to async/parallel stuff, right?"

To which someone, pasted that fairly small example of a channel read/ write. Based on your own reading, you can tell if that is easy for you or not. But, I do agree with the original response, which also could be taken as a dip stick if he is ready to start working with concurrency.

2 ответов

16 просмотров

I myself focus on the readibility of an example when asked from a beginner. Because I want them to not have a bad starting experience with a language. No matter how many years of experience they have, they still might not know what differ does in Go. Or when you're using go func () {} () inside another func that makes the code less readable. That's why they said: "give me back my async await syntax", because there are distractions in the code that the OP doesn't know the meanings of, my point is those distractions that phsycologically trick our mind that such code is hard. And I believe this doesn't matter if you have 1 year or 10 years of experience in general programming field. Reading the book "Clean Code" made me realize that.

Harry-Cee Автор вопроса

Похожие вопросы

Обсуждают сегодня

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
Also, why can’t the community have a vote/ say when it comes to initiatives like buybacks. Isn’t the point of crypto decentralisation? Don’t we deserve input as long term supp...
👨🏽‍🦰
13
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
15
any reference of this implementation?
BitBuddha
29
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
13
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта