>>13799287I think for the same reasons we learn algebra, even though most people never use it again in life. It's something that affects our daily lives, so there is some utility in having a concrete concept of what it is, even if most of us will never need to master it. Additionally, like algebra it is also a mental discipline. Algebra requires some level of abstract thought to solve basic problems. Programming is very similar, can be used to reinforce algebra concepts in a practical exercise, and requires some level of creativity.