Learning social skills in school is important but so are basic skills like being able to write. Even if you dismiss cursive writing, you still need to develop similar fine motor skills and you need to be able to compose lucid and literate writing skills in at least your mother tongue. Coding cannot replace basic literacy.

Incidentally, I spent 44 years in the software business and I like coding too but it sure doesn't replace literacy and numeracy. As time went on, the lower the standards of literacy in the engineering professions.