![]() |
![]() |
|
2019-Feb snow day!: In class Feb-06, we covered the first video below ("structs-intro-part1"), plus all but the last 2m41s of the next (part2).
For Feb-11 (or at least before Feb-13 and hw04a):
- watch, starting from 19m00s, the last few minutes of video: part 2: template for structs (21m41s),
- and then (at least) the first 13m00s of video: part 3: functions returning struct (19m15s) (if you a further worked-out example of the the design recipe applied to another function-for-immutable-structs, you can continue watching after 13m00s), and
- finally, watch video: Java records for structs intro (part 4). (24m26s)
- Optional: Using Java w/ class instead of record is both painful and has a couple subtleties.
opening notes in .rkt files: Many of the lecture-notes links are .rkt files (not .html). You should (a) download the file (say, via right-click or save-as), (b) start DrRacket, and then (c) choose File &goto; Open… them. Do not copy-paste into an empty DrRacket window — the language-preference won't be set correctly, and the initial lines may be goofed up.
This page licensed CC-BY 4.0 Ian Barland Page last generated | Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |