I think those classes/lessons were added when the availability of computers were kind of so and so, not every kid had a computer at home but most adults at the time understood that computers will be used in the kids future one way or another, so they figured everyone should know it.
At one point it shifted to "everyone has a computer at home" to "everyone has a computer in their pocket, and learns typing by themselves" and the classes seems to have disappeared.
At one point it shifted to "everyone has a computer at home" to "everyone has a computer in their pocket, and learns typing by themselves" and the classes seems to have disappeared.