You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2025. It is now read-only.
The examples in the book are going over interface type assertions. I, being new to go, don't quite understand interfaces yet. So these examples are not helpful at all.
It would be better if:
we covered what an interface is before section 3
used a different type in the examples.
Similarly, in this example we are also going over maps which aren't covered till the next section in section 4.
Maybe Type Assertion should be moved to after all these other concepts have been covered. So that the code examples aren't so confusing to new go programmers.