Blog for serious programmers
PFPL reading notes
This is a collection of random notes when reading the textbook PFPL. Definition “x is bound within a2” can be intrepreted as x is an immateria...
Yes I’m going to take 15-611, compiler design, which is one of the most challenging course in CMU! And it is said a functional programming languag...
A false trick on swapping two variables
There are two typical approaches to implement an function to compute the n’th element of the Fibonacci sequence. One approach: class Solution...
Approaches to declare and/or initialize a char array in C
char str; Error denoted by IDE: Local incomplete array must be initialized char str; OK char str = "hahaha"; OK char st...