4 ms·
wow that is horrible. none of that is intuitive, which is one of Go strength. you would need to specific learn the Go semantic of coroutine to have any chance o
by 38 3y ago
wow that is horrible. none of that is intuitive, which is one of Go strength. you would need to specific learn the Go semantic of coroutine to have any chance of writing or even reading code like this.
- sk0g 3y agoGoroutines and channels aren't intuitive either. You learn them and become familiar with them over time, at which point they become intuitive __for you__.
- 38 3y agoactually I get it now. the issue is that OP was giving TWO different examples of use, pulling a single value versus multiple. they should have clarified.
- chrsig 3y agoYes, on review, I should have made two examples instead of combining them. Thanks for persevering through my brevity and reaching understanding :)
- dboreham 3y agoThey're totally intuitive if you were an Occam programmer.
- sk0g 3y agoSo it's intuitive because you are familiar with those concepts. I don't see how that goes against what I said.
- kissgyorgy 3y agoYes, you need to learn language features in order to use the language, shocker!
- 12345hn6789 3y agoI've written go for a year or so. That looks close to go code I look at every day. I wouldn't be surprised if it was in the language.