3

There's already read text aloud programs but they don't really understand python indentation and won't read it in a way with pauses that reflect things like indentation and creating variables. The read aloud program might blitz through a few lines then go slowly through some when in real life you would read code aloud differently.

For example, - is not read as minus. * is not read as "times" / is read as slash as opposed to divided by

4
  • 1
    - is not read as minus? What else is it in Python? May 12, 2016 at 18:44
  • If you know how you want it being read, why not perform a simple search/replace operation before? May 12, 2016 at 18:45
  • I could but its a considerable amount of work to do all the edits if you think about it. Some programs might have large blocks of #### some programs might have - in comments, and how would you replace parenthesis for example? Would you really put "left parenthesis" for every ( ? I'm wondering if someone has made some sort of slick program that can read code aloud like a person would. Imagine I'm blind. Not that blind people code very often.
    – LongApple
    May 12, 2016 at 19:37
  • Good point. How do you want parenthesis be read? May 12, 2016 at 19:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.