Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand material on if statements #1085

Merged
merged 5 commits into from
Oct 11, 2024
Merged

Conversation

ethanwhite
Copy link
Member

  • Change assignment order to align with material
  • Add full discussion of vectors in conditionals
  • Explain that there are no returns for conditionals
  • Explain that if states need a single logical value
  • Add additional in-lesson exercises

Moves DNA or RNA back since boolean functions is taught last
Adds treatment of elementwise comparison and warning about
elementwise comparisons with non-equal length vectors
This is a common mistake resulting from just learning functions and the
braces
Can't pass them vectors. Avoids early confusion and sets up repeating
things material
@ethanwhite ethanwhite merged commit b53d760 into datacarpentry:main Oct 11, 2024
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