Questions

  1. What's the difference between an exported and an unexported symbol?
  2. Why are custom types important?
  3. What is the main limit of a short declaration?
  4. What is scope and how does it affect variable shadowing?
  5. How can you access a method?
  6. Explain the difference between a series of if/else and switch.
  7. In a typical use case, who is generally responsible for closing a channel?
  8. What is escape analysis?