Left: This is the earliest row of shops in the town of Kampar built by chinese migrants to the then new mining town. This is the prototype that fit into the British straits by laws best.
It then evolved to the version on the right.
Photos from 2004.
Apparently the British building code was adapted from what was already working in Batavia (Java).