Hacker News new | ask | show | jobs
by cteague 2782 days ago
Thinking about disabilities that are not necessarily physical such as dyslexia, adhd, and other things that affect cognition--I would say an optimal programming language should be as easy to understand and read as possible. This would mean choosing the style of the language and the syntax so that it optimizes for readability. Also, removing the amount of the context someone needs to understand a piece of code. Perhaps this could be accomplished by strict enforcement of modularity and things like auto-generated or required documentation so that interfaces can be understood without diving into them if possible.

Obviously, inherent to programming is diving deep into chained function calls and managing all those levels in abstraction in one's mind. However, for someone with a limited working memory for whatever reason--adhd, depression, chronic pain, anxiety, headaches and more--having this minimized as much as possible would be a lifesaver.