CS135 Lecture Notes - Lecture 3: Semicolon

32 views4 pages

Document Summary

Readings: htdp, sections 1-5, survival, style, and submissions guide. Every program is an act of communication: between you and the computer, between you and yourself in future (can"t remember/picture all code in head, between you and others (how others interact with program, inputs/outputs, etc. ) Human-only comments in racket programs: from a semicolon (;) to the end of the line. Programs should be: compatible, composable, correct, durable, efficient, extensible, flexible, maintainable, portable, readable, reliable, reusable, scalable, usable, and useful. The design recipe: use for every function in cs 135, development process that leaves written explanation of code production. Five components: purpose describe what the function is to compute, contract types of arguments function consumes and types of value it produces. Tuesday, september 16, 2014: examples illustrating typical use of the function, definition racket definition (header and body) of the function, tests representative set of inputs and outputs.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents