Comment by throwaway47292
3 years ago
I am halfway done with the C deck, as we are switching to C soon, and I will setup a kickstarter after, should be done around December.
I want her to know why x[3] and 3[x] are the same thing.
int x[3];
2[x] = 5;
printf("%d %d\n", 2[x], x[2])
A lot of people struggle with
x = 5
y = 6
y = x
x = 7
print(y)
and
x = [1,2]
y = [3,4]
y = x
x.append(5)
print(y)
There is something magical in understanding how the computer uses its memory, its almost as if you walk out of a mist.
I think it will be very valuable to have a set of 4 decks: python, machine code, unix pipes and C, so that the decks compliment each other. In the machine code deck there are few cards that have pointers (e.g. https://punkx.org/4917/play.html#43), and they can be used to help with the C deck for example.
Then its LISP.
Sounds awesome! I’ll pitch buying a bunch of these for work as well. Extremely good idea!