3 ms·
I would think Python would be very problematic, actually. The end of a lexical block can only be detected by looking at the whitespace at the beginning of each
by amalcon 3y ago
I would think Python would be very problematic, actually. The end of a lexical block can only be detected by looking at the whitespace at the beginning of each line, and asking a screen reader to read whitespace seems like a nightmare. Compare something like Ruby, where (while not great for other reasons) a screen reader would literally say the word "end" at the end of the block without any additional setup.
edit: Of course, a decent screen reader could probably be programmed to do something reasonable here -- e.g. even saying "end" at the end of an indented block, though there are lots of options. This would need to be set up, but that might be the way -- you'll probably encounter Python at some point whether you like it or not.