2 ms·
>Making whitespace-sensitive syntax, like in Python & Haskell, optional syntactic sugar for explicit brackets & separators. That shouldn't matter with an IDE o
by SilasX 8y ago
>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.
- geofft 8y agoThat's usually true but a lot of code in the middle of being edited isn't syntactically valid (a common special case is a file in the middle of a merge conflict). So you need some way of being able to accept any input and represent it usefully, even if you couldn't execute it.
- kd0amg 8y agoDoes that mean you need a screen reader that knows about whatever programming language you use?
- simion314 8y agoYou also need to read coding books, documentation examples and webpages, so having to use an IDE is not the best solution.
- SilasX 8y agoSeems like the real problem is the lack of interoperability between a special coding parser and arbitrary snippets of online code.