Skip to content

Minor corrections and suggestions (Ch 1-2) #18

@AshBuk

Description

@AshBuk

Hi @mactsouk,

While continuing to read through the book, I collected a few items that might be worth addressing in future editions:

Typos:

  • Page 44: "at" → "cat"

Style suggestions (optional, for consideration):

  • Page 25: fmt.Printf()fmt.Print()/Println() (no format specifiers needed)
  • Pages 37-38: else after return could be omitted (Go early return idiom)
  • Page 56-57: overflow.go demonstration code doesn't match repo version (with math.MaxInt - 100). Book version would take impractical time to execute - clarification needed.

Does this make sense and are such notes helpful?
These are just minor points - the book remains excellent overall.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions