Blind people already do programming. I know a blind guy who can code really fast, much faster than my colleagues, no idea how though. Shouldn't you be researching how they code now and then work from there? I actually feel like current way of coding using text works very well for blind people.
Ask HN: How should a programming language accommodate disabled programmers?
31–40 of 122 posts
Re: Ask HN: How should a programming language accommodate disabled programmers?
#32I would appreciate terseness. For example, I love how in JS, I can do this:
``` var cat = whichCat(); var catPosts = posts.filter(post => post.cat === cat); ```
Whereas in PHP, I have to do this:
``` $cat = whichCat(); $catPosts = array_filter($posts, function($post) use ($cat) { return $post->cat === $cat; }); ```
So much extra typing.
DISCLAIMER: didn’t test this code so chance of typo is 99%.
Re: Ask HN: How should a programming language accommodate disabled programmers?
#33My struggle is typing. I use an onscreen keyboard ( https://www.blakewatson.com/journal/writing-and-coding-with-... ), which I have heavily customized for web development. I would appreciate terseness. For example, I love how in JS, I can do this: ``` var cat = whichCat(); var catPosts = posts.filter(post => post.cat === cat); ``` Whereas in PHP, I have to do this: ``` $cat = whichCat(); $catPosts = array_filter($pos…
Re: Ask HN: How should a programming language accommodate disabled programmers?
#34I'd say from a programming language point of view, having keywords that are short (single word would be ideal) and phonetically distinct is really important.
One python programmer I watched on Youtube made his own vocabulary of strange sounds that he trained his software to recognise and translate to real keywords.
Re: Ask HN: How should a programming language accommodate disabled programmers?
#35My struggle is typing. I use an onscreen keyboard ( https://www.blakewatson.com/journal/writing-and-coding-with-... ), which I have heavily customized for web development. I would appreciate terseness. For example, I love how in JS, I can do this: ``` var cat = whichCat(); var catPosts = posts.filter(post => post.cat === cat); ``` Whereas in PHP, I have to do this: ``` $cat = whichCat(); $catPosts = array_filter($pos…
Re: Ask HN: How should a programming language accommodate disabled programmers?
#36> Making whitespace-sensitive syntax, like in Python & Haskell, optional syntactic sugar for explicit brackets & separators. 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…
I wonder if it would be helpful to describe the indentation level you are on: 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.
Re: Ask HN: How should a programming language accommodate disabled programmers?
#37>Making whitespace-sensitive syntax, like in Python & Haskell, optional syntactic sugar for explicit brackets & separators. That shouldn't matter with an IDE or plugin. If static analysis can identify the blocks -- and it has to! -- the screen reader can just read it as if it had your preferred block notation rather than noting the whitespace.
Re: Ask HN: How should a programming language accommodate disabled programmers?
#38>Making whitespace-sensitive syntax, like in Python & Haskell, optional syntactic sugar for explicit brackets & separators. That shouldn't matter with an IDE or plugin. If static analysis can identify the blocks -- and it has to! -- the screen reader can just read it as if it had your preferred block notation rather than noting the whitespace.
You also need to read coding books, documentation examples and webpages, so having to use an IDE is not the best solution.
Re: Ask HN: How should a programming language accommodate disabled programmers?
#39I've seen some programmers code using voice. This is really handy for people without functiong hands or fingers. They tend to use voice recognition software like Dragon and various plugins. I'd say from a programming language point of view, having keywords that are short (single word would be ideal) and phonetically distinct is really important. One python programmer I watched on Youtube made his own vocabulary of st…
Re: Ask HN: How should a programming language accommodate disabled programmers?
#40My struggle is typing. I use an onscreen keyboard ( https://www.blakewatson.com/journal/writing-and-coding-with-... ), which I have heavily customized for web development. I would appreciate terseness. For example, I love how in JS, I can do this: ``` var cat = whichCat(); var catPosts = posts.filter(post => post.cat === cat); ``` Whereas in PHP, I have to do this: ``` $cat = whichCat(); $catPosts = array_filter($pos…
https://github.com/melling/ErgonomicNotes/blob/master/progra...