What forms of documentation have you encountered during your team project so far? Have them been useful or unuseful? Well-written or poorly-written?
Consider the following grammatical and stylistic exercises.
Critique each of the following texts written for a guide to the CS Department.
- CS 262 should not be taken.
- The department hates CS 262; it’s wildly unpopular.
- Your going to hate CS 262; its wildly unpopular because they’re to many mindless details two attend too.
- Come to the CS 262 exam classroom with your mobile device.
- Don’t use negative imperatives in CS 262.
Critique the grammatical style of the following list*.
Approaches to writing effective comments
- Writing self-documenting code.
- Don’t document the obvious,
- Comments with simple formatting near to the code they document
*These guidelines are adapted from J. Atwood “When Good Comments Go Bad”.
Start with the following, clear, concise command:
Go directly to the classroom.
Without changing its meaning, modify this statement as follows.
- Change it to passive voice.
- Remove all (the) articles.
- Split an infinitive.
- Obfuscate a verb (or noun).
- Add ambiguity.
- Violate other selected stylistic guidelines.
What was Postman’s fifth idea and do you agree with it?