Sobes.tech

Can we write code without interfaces?

243

If we have UTF-8, how can we get the length of a string?

220

Tell me about the features of RPC and gRPC.

218

What is the advantage of the new map implementation over the old bucket-based one?

208

Tell about the features of Kafka — how is it structured?

207

How did services communicate with each other?

203

Tell me about the most memorable bug in production: what was it, how did you fix it, and what lessons did you learn?

202

You joined a project where the code has been written for years, lots of legacy, no tests, everything is barely breathing. Where would you start if you need to implement a new feature?

194

Let's clarify on the map. In buckets — that's the previous implementation, the new implementation, what can be said?

183

What other synchronization primitives do you know?

183

Tell me, what built-in types do you know in Go?

182

Suppose we have a buffered channel. We write 10 messages into it, but no one reads from the other side — what will happen?

182

What non-obvious concurrency (goroutine) problems have you faced in real projects and how did you solve them?

178

```go type SafeMap struct { data map[string]string } func (s *SafeMap) GetOrCreate(key, value string) string { } ```

177

What can you tell about interfaces in Go?

175

We have 10 messages in the channel. We close it and start reading — what will happen in this case?

175

Why do issues arise with string length in UTF-8?

173

In which case are atomics most often used?

168
/2