8 Discussion
Discuss one of your projects (or the sample project listed at the end of this section) with your newfound friends and collaborators. Here are some issues for you to think about:
- Big picture questions
- What is the goal of this project?
- Who is the code for? Is it for the author, or should other people be able to use and/or contribute to it?
- How would I run this code? Do I have the information I need to do that?
- Code comments and organization
- Are there docstrings for classes and functions (i.e. "this function does X")?
- Are the input parameters described with sufficient detail that the user can distinguish legal from illegal inputs?
- Is it possible to run the code in a way that causes it to break (e.g. what happens if you call functions "out of order")?
- What's missing? Are there unhandled cases?
- Issue tracking
- How is this project tracking issues? Can you figure out what needs to be done?
- Documentation
- What kinds of work flows do the code enable?
- How do the various parts of the code hook together?
- What are the inputs and outputs?
8.1 Sample project
If you don’t have a project of your own you can apply these prompts to Derek’s Portfolio Factors repo