dpc icon indicating copy to clipboard operation
dpc copied to clipboard

Designing Programs with Class

Results 20 dpc issues
Sort by recently updated
recently updated
newest added

This just gives a "bad syntax" error and should do better: ``` #lang class/0 (define-class a% (check-expect 5)) ```

language
error messages

This gives a bad syntax error: ``` #lang class/0 (define-class a% (define/asdf (m) 1)) ``` which is ``` define-class: There were multiple syntax errors. The first error follows: expected the...

error messages

We've moved away from the `(field f)` form of referencing fields and instead have used automatically generated accessor methods: `(send this f)`. We should do the same for `(set-field! f...

language

As in [Chapter 17](https://github.com/dvanhorn/dpc/blob/cb800dbb3b1017f789ac717082c76c8bc47a4e08/book/chapter/17.scrbl#L493): > The functional style is slow, but easy. > The structural style is fast, but hard. 1. Slow/fast and easy/hard are vague terms here, aren't they?...

The paragraph at [line 386-388 of Chapter 17](https://github.com/dvanhorn/dpc/blob/cb800dbb3b1017f789ac717082c76c8bc47a4e08/book/chapter/17.scrbl#L386) is unclear.

Kill function application syntax for method calls within method definitions and bring back only after inheritance.

language

Right now, we've got nothing.

language
universe

Allow students to use mechanisms they understand with `universe`/`big-bang`, once we have overrriding.

universe

Right now, it's all horribly duplicated.

language

`class/0` supports `define/public` and `define/private`. We can't take them out until after the semester, but then they should go.

language