Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
instruction-ptr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
instruction-ptr
9y ago
See section 7 of http://www.cs.cmu.edu/~15122/handouts/02-ints.pdf (As an aside nearly every language defines division on the set of integers this way so it’s not even like we’re making this up)
2.
▲
by
instruction-ptr
9y ago
To quote a fellow TA below: “I am currently a TA for 15-122 at Carnegie Mellon, the class that C0 was originally made for. I would argue that C0 does an excellent job at breeding good programmers because of the following features: 1. Contra
3.
▲
by
instruction-ptr
9y ago
Also - we don’t break complete compatibility with C. We just restrict the amount of C things they are allowed to use
4.
▲
by
instruction-ptr
9y ago
The course that uses C0 goes on later to C, and is literally titled “Principles Of Imperative Computation”. We use Standard ML for “Introduction to Functional Programming”. - source: I’m a TA for this course
5.
▲
by
instruction-ptr
9y ago
“No division”? How do you reason this? Integer division is a thing