You have to check if a Maybe is a Some or a None in every language. Go is no different from rust here.

The point about about multiple mutable references is good though, I like that about rust I guess. But it's better to just use channels send immutable values.

The best go slogan is: don't communicate by sharing memory; share memory by communicating!

Reply to this note

Please Login to reply.

Discussion

No replies yet.