After hearing a story of a man who had both his legs and arms amputated after an injury serving in the military, I started thinking about what I would do if I was in some situation that caused me to lose the use of my arms. I would obviously still want to code, but how easy could that be? I did some looking around online, and there are few tools out there to help the severely disabled write code productively. One of the few things I found was
this, which is a Stack Overflow question, and there was just a hodge-podge of various little projects that tried to make using existing languages bearable. This is sad to me since programming could be a great escape for many severely disabled people, and could even allow them to enter programming as a career. Sadly, many quadriplegic patients unfortunately wrestle with feeling "useless" and like they can't contribute to their family and are being cared for. A programming language focused on being 100% speech-to-text compatible could be a huge help!
What a language like that would need would be to largely remove symbols from the language, and to remove ambiguity from spoken code. For example, take a Java method:
Code: Select all
public static void addSomething(int x, Holder y) {
int sum = x + Holder.value;
return sum;
}
This would be quite awkward to dictate. I am thinking something like this could be better for speech-to-text:
Code: Select all
public static function addsomething passes integer x and Holder y
new integer sum equals x plus Holder gets value
return sum
endfunction
Obviously some of the math stuff could be converted to something a bit more eye-friendly, but I just wanted to note how I think it could sound. Also the IDE could know to run together any identifier between "function" and "passes", which could also be "passes nothing" for methods with no arguments. That would be an example of how the IDE would have to be intelligently setup with well-known rules to allow the dev to proceed quickly, without having to constantly go back and fix the problems current languages suffer when using speech-to-text. Having a good way to write large blocks of "practice code" to see how it looks would also be nice, like an expanded C-like block-comment feature, with additional features, such as the ability to easily choose parts of the practice code to merge into live code, and a way to dictate pseudo-code right in the IDE.
Some fully able-bodied programmers may like it if they are beginning to suffer from carpal tunnel syndrome, or simply don't like typing. A .NET-compatible language would be easier to create than an entire compiler from scratch, and it comes with the huge ecosystem of .NET. I don't know much IL or I would probably give it a whirl myself. I just wanted to get the idea out there to see what anyone else thinks. Sorry for a huge post lol!