Skip to content

Cliffhanger in "Defensive Programming" #1041

Description

@BootzenKatzen

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementPropose enhancement to the lesson

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions