In 2020, Halvorson published "Code Nation: Personal Computing and the Learn to Program Movement in America" (ACM Books / Morgan & Claypool), a history of computing that emphasizes the influence of computer literacy debates in America and the range of experiences that hobbyist and professional developers had when creating software for early microcomputers, IBM PCs and compatibles, the Apple Macintosh, and Unix systems.