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

Cliffhanger in "Defensive Programming" #1041

Open
BootzenKatzen opened this issue Jun 1, 2023 · 0 comments
Open

Cliffhanger in "Defensive Programming" #1041

BootzenKatzen opened this issue Jun 1, 2023 · 0 comments

Comments

@BootzenKatzen
Copy link

It feels like the "Test-Driven Development" section of the Defensive Programming chapter ends on a cliffhanger. It gives us the tip "always initialize from data" but doesn't show an example of doing that. I had to email and ask, because I wasn't sure how to create the variable without assigning a value. They sent me an example of the code where they were initialized as "None." It also would have been nice to see a working version of the function just as an example, possibly with some notes in cases where lines directly correspond to certain asserts. I just like knowing how everything wraps up.

I have found this course very helpful on the whole though, so keep up the good work!

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

No branches or pull requests

1 participant