Skip to content

Idiomatic: Misc. minor tweaks to the type system section#3165

Merged
mgeisler merged 2 commits intogoogle:mainfrom
randomPoison:type-system-misc-fixes
Apr 28, 2026
Merged

Idiomatic: Misc. minor tweaks to the type system section#3165
mgeisler merged 2 commits intogoogle:mainfrom
randomPoison:type-system-misc-fixes

Conversation

@randomPoison
Copy link
Copy Markdown
Contributor

A handful of minor fixes to the type systems section of Idiomatic. Mostly just fixing wording or markdown formatting.

Also rename the "Parse, Don't Validate" slide to "Enforce Invariants at Construction". The naming of this slide seems odd to me when the example code is validating inputs, not doing any parsing. I think what the slide demonstrates is fine, but makes more sense framed as "enforce invariants at construction time, then you can rely on those invariants later".

@mgeisler mgeisler enabled auto-merge (squash) April 20, 2026 21:48
Copy link
Copy Markdown
Collaborator

@mgeisler mgeisler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

auto-merge was automatically disabled April 21, 2026 19:48

Head branch was pushed to by a user without write access

@randomPoison randomPoison requested a review from mgeisler April 21, 2026 19:58
@mgeisler mgeisler enabled auto-merge (squash) April 28, 2026 16:02
@mgeisler mgeisler merged commit 6b4b1ea into google:main Apr 28, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants