What will be the result of writing to a closed channel? Deadlock, panic, or an error returned by the write operation?
C#
Principal
149
What is the algorithmic complexity of binary search in a sorted array?
Principal
145
Does Go have inheritance or composition?
Principal
133
When are the arguments of a deferred function calculated? At the time of definition or at the time of call?
Principal
133
What happens if you run a goroutine and call panic inside it? Will the goroutine stop or will the entire application stop?
Principal
132
Which of the list are synchronization tools in Go? Channels, sync.WaitGroup, sync.Mutex, sync.Cond?.
Principal
130
What is the order of traversal of elements in a map container in Go?
Principal
118
When will the deferred function defer be called? When exiting the local block, when exiting the function, or when the application terminates?.
Principal
117