Skip to content

Document the whole project using PyDocs #51

@hansyuan

Description

@hansyuan

in the summer, after both papers are done, before we "go crazy" we should document the project:

  • Every subdirectory should include a very small README, even simpler than CSE 8B ones. These READMEs should document intent and purpose and motivation. They should NOT document what each individual file does.

  • Every python file should have a file header that documents, again, the motivation behind the file. No implementation information.

*Every class header should document what the purpose of the class is, using pydoc format. This is where we can start talking about implementation, but at a high level.

  • Every function header should explain what implementation/motivation underneath the logic.

Why this way? Because we assume the programmer can already read Python. So every header above should be 1-2 sentences, really concise and simple. In a single sentence, these headers and comments are meant for people e.g. who read the paper and are now trying to see how our Python translates into the higher level logic implementations and design decisions.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions