7 ms·
This is nearly impossible to answer without a clue about the disability; it sounds like it is cognitive rather than visual. Is it a struggle with the syntax of
by kazinator 12y ago
This is nearly impossible to answer without a clue about the disability; it sounds like it is cognitive rather than visual. Is it a struggle with the syntax of written English, or word recognition?
If you cannot map individual written words to meanings, you will likely find it next to impossible to program using textual representations of programs.
If you don't have problem memorizing and recognizing symbols, but struggle with syntax, then your problems may be mitigated by programming languages having quite regular syntax with few ambiguities, and usually without a very large number of phrase structure forms (grammar rules).
Some languages, like in the Lisp family, have an an unambiguous syntax, in which all grouping of tokens into higher level structures is explicitly marked off with parentheses, and most special syntax uses a very regular prefix notation, often just consisting of one or two characters which alter the meaning of a token or parenthesized group which follow.
Also, most programming languages are written in a two dimensional way with indentation. (A few languages enforce it; in others it is a matter of style which makes no difference to the machine). Most of the time, programmers do not read programs the way they read English sentences; they rely on the visual clues to understand the basic structure of the code.
When we read English sentences, we basically scan the words and feed them to the "natural language processing centre" of the brain, which works out the syntax for us, as if an inner voice were speaking the words to us. If someone has an impairment there, that can create a difficult. However, the expressions in a computer program aren't necessarily processed that way by the brain.