Tuesday, December 27, 2011

An Abnormal Analogy: Computer Science and Literature

Computer science is a field that involves programming computers to complete tasks that need to be executed numerous times with high precision. For a human many of these tasks would be impossible.

1. Computer programming : Writing a book

2. Keyboard and mouse : Pen, pencil, eraser

3. Programming Environment : paper (blank pages)

4. Code : books content/story

5. Method/Function : verb

6. Class/Object/instance : noun

7.File : chapter

8. Main menu : table of contents

9. A parameter : a noun (idea) that must be put through a certain situation

10. class variables/ fields : character traits

11. main method : where a person opens the book

12. abstract class : structure for a part of a book not yet written

No comments: