by gus_massa · 8y ago · 0 comments
Interesting question. A few years ago, I worked with a blind mathematician. I was an undergraduate T.A. and he was the main T.A. of the course. He used the screen reader a lot. In particular, he has the list of exercise in LaTeX. We read aloud the grades of the students and he wrote them in the Excel form.
I don't remember him using a programming language (excluding LaTeX). The indentation looks like a difficult problem, even if the language has explicit brackets. Does the screen reader say "Tab Tab print ten semicolon"? Does it ignore the indentation? Spaces vs tabs? ...
Do you have some group of blind programmers that you can ask about their current setup?
Another bonus to this approach is that it enforces a style guide. Overly complicated and nested programs become more difficult to understand, and excessive nesting becomes literally incomprehensible as it spirals out of the human hearing range.
I wonder if you could also use different voices for different things. Code could be read in a masculine tone, code blocks in a feminine tone, inline strings with an Australian accent.
e.g:
def method_here(value): # Indentation level 0
x = 10 # Level 1
y = 5 # Level 1
if x == value # Level 1
print 'x!' # Level 2
elif y == value # Level 1
print 'y!' # Level 2
You could maybe even throw in a block number so it's clearer.