News for hackers. Stuff that matters.
Re:Ask HN: How should a programming language accommodate dis... by TheCoreh on Friday November 09, 2018 @10:08AM (#18414895)
Not knowledgable about screen readers, but maybe having the increase in indentation result in an increase in pitch of the screen reader voice could be an interesting approach for this.
Re:Ask HN: How should a programming language accommodate dis... by pavel_lishin on Friday November 09, 2018 @10:16AM (#18414971)
You beat me to this idea by five minutes!

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.