There was a time when typing a document in your computer meant you have to know an macro language (remember wordstar?) ... the current state of programming is such and a big barrier for non programmers. We need to make it easy just like MS word made it easy to type complex documents in the computer.
Writing documents is a use case for the general public.
Writing code is not the same. In general, programming tools _are_ getting better (text editors, debuggers, IDEs, etc).
The only barrier to non-programmers is learning how to program.
It's the same with writing. The tools _are_ available. But you still need to know how to write. I mean how to put words together in a way that people would want to read.