As the world struggles with the rapid spread of COVID-19, Hong Kong appears to be having success controlling it — in part because the memory of a similar virus in 2003 prompted a public outcry early on.

Hong Kong's government quickly implemented restrictive "social distancing" measures now being hotly debated around the world, in part because of pressure from medical workers to close its border with China at the beginning of the outbreak. Those included closing schools, canceling large-scale events, shutting government offices and ordering civil servants to work from home — a move that many companies quickly followed.

Hong Kong's experience with SARS (severe acute respiratory syndrome) — which killed almost 300 people of more than 1,700 infected, the most outside of mainland China — impacted the psychology of the city, said Nicholas Thomas, an associate professor at the City University of Hong Kong. Many residents wore surgical masks and avoided gatherings from the very start of the outbreak, a practice that continues more than six weeks later.