Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Concept of "interfaces" covered before chapter 7 #65

@fxdgear

Description

@fxdgear

Section 3.3 we are covering Type Assertion http://www.golangbootcamp.com/book/types#sec-type-assertion.

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:

  1. we covered what an interface is before section 3
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions