In the page discussing if expressions (website/versioned_docs/version-0.12/01-language-basics/03-if.mdx), the explanation moves straight into testing before explaining the basic structure of if statement syntax.
Would it be helpful to a newcomer to start with examples of a basic if, then if-else, then if with optionals before moving to testing?
In the page discussing
if
expressions (website/versioned_docs/version-0.12/01-language-basics/03-if.mdx), the explanation moves straight into testing before explaining the basic structure of if statement syntax.Would it be helpful to a newcomer to start with examples of a basic
if
, thenif-else
, thenif
with optionals before moving to testing?