Note that half the time, you'd make typos and it wouldn't run. So it sounds nostalgic, but not so much.
However, debugging it helped to learn the language. :)
Dr. Dobbs Journal was probably the king of source code listings in magazine format.
Pre-Internet, there were some remarkable mass-distribution Unix magazines with significant source code for utilities: Unix Review and Unix World. Even today, the back issues would be useful.
I remember lusting over the AT&T 3B Unix machines advertised in those, but never could afford one. So I waited until VAX Unix in uni (the arts dept. had an unused one), then SCO and Linux.