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+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents