Skip to content

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

Open
randomPoison wants to merge 1 commit intogoogle:mainfrom
randomPoison:type-system-misc-fixes
Open

Idiomatic: Misc. minor tweaks to the type system section#3165
randomPoison wants to merge 1 commit 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".

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.

1 participant