Functional Problem Solving (CSC 151 2015F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] [Remote Access]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2015F)] [Davis (2013F)] [Rebelsky (2015S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Overview
What should I do if I got the following as sample output on problem 3?
> (seconds (add-times (time 0 0) (time 0 97)))
37
...
> (seconds (add-times (time 0 0) (time 0 97)))
97
Excuses
These can be on the homework, the reading, whatever.
Can we use helper procedures?
Certainly?
How much documentation should we use for helper procedures?
Preferred: Six P's.
Because Preconditions/Postconditions are Painful Conditions, I'm okay with the 4P's.
But because I primarily care that you think about inputs and outputs and what the procedure does, I might accept a variant. (You'll find that most acceptable variants aren't much shorter than the 4P's)
We think our code should work and it doesn't. Why not?
Please send it to me and I'll see what I can figure out.
HELP NEEDED on HW4 is a good subject.
What radius should our circle of shapes be?
Whatever you find most convenient.
Why didn't people ask those questions at the start of class?
I don't know.
Writeup is 3c
What's better?
(define irgb-brighter?
(lambda (color1 color2)
(if (> (irgb-brightness color1) (irgb-brightness color2))
#t
#f)))
(define irgb-brighter?
(lambda (color1 color2)
(> (irgb-brightness color1) (irgb-brightness color2))))
ZS says "If you find yourself explicitly writing #t and #f, you
can probably write a better version!"