Tim Ng
banner
timng.bsky.social
Tim Ng
@timng.bsky.social
I teach computer science https://cs.uchicago.edu/~timng/
this is exactly my complaint about house district names
February 9, 2025 at 6:32 PM
I've seen that U of T's CSC 110 takes this further and they do it in Python. They do type checking but they also have students write preconditions and invariants that are enforced by their autograders.
January 19, 2025 at 10:11 PM
CS 135's contracts come from htdp.org, so any course that's based on htdp will have them. One can extend this idea to actually enforce them. We used to do this by using the Typed Racket and turning contracts into actual type annotations.
How to Design Programs
htdp.org
January 19, 2025 at 10:07 PM
this is going to get even Cooler as students' writing styles converge on generic LLM voice more
December 27, 2024 at 5:56 PM