EDIT: This would have been ~1976.
All school work was on paper so it was a necessity.
But it was fun too. In pointless classes like French, there was nothing better to do. It was worthwhile to work on my personal programs on paper and type them out when I got home.
You had to think about the approach before starting to write it down. I would leave a lot of vertical space in case I needed to put something above. In some cases I would write the code afterwards, draw a rectangle around it, and point to where it needed to move. It was a bit messy sometimes.
I often wonder what life would have been like if I had got some processor architecture manuals and microcontrollers early on. I've only specialized in embedded systems much later in life and spent my earlier life doing other, somewhat adjacent, things.
It was during the first home computer revolution. My library had books on the subject which were intriguing, including the legendary "BASIC Computer Games". Those were written for several different computers, which didn't matter since I didn't know anybody who had them. But soon several of my friends got C64s and we could rewrite them for those.
Which was fun. Maybe not a common pastime back then but not unheard of either. Kids love to experiment and this was just one way of doing that. But it was definitively programming. There's wasn't much else to do with a home computer apart from what few games you had access to.
This reminds me, there was magazines in the regular shops which contained source code listings of programs, including simple games with graphics declared as decimal constants. Before modems that was how many people got their software. Since you had to type them in by hand, it was very natural to make modifications.