If I get this right, I am thinking the TTS can detect a block of code, like a block of method, block of if, block of for, by reading the indentation differences. The TTS would say something like “start of IF block”, and ended with “end of IF block”
I could imagine that Ada would be easiest to use in this case because they have very verbose keywords and scopes are defined by begin and end instead of curly braces. Also the end statement includes the procedure name (for the end of a function’s scope) or the kind (e.g. loop, if) which would make it easier to imagine which scope ends there.
For me, it’ll be python, as it is over-readable in text as well.
How do you read Python’s indents aloud?
Oh yes, forgot of that. We can modify the syntax a bit I guess?
Yes, we can.
Is it like text-to-speech for piece of code?
If I get this right, I am thinking the TTS can detect a block of code, like a block of method, block of if, block of for, by reading the indentation differences. The TTS would say something like “start of IF block”, and ended with “end of IF block”
Reading Python code block like it is Ada is attractive.
Depending on your mood I would think either Shakespeare, Chef, or Rockstar 😃
Rockstar would be awesome to listen to. More so if it sung.
Chef is at least understandable for me.
I could imagine that Ada would be easiest to use in this case because they have very verbose keywords and scopes are defined by
begin
andend
instead of curly braces. Also theend
statement includes the procedure name (for the end of a function’s scope) or the kind (e.g.loop
,if
) which would make it easier to imagine which scope ends there.Pascal would fit too and I think that in a better way since the language is more simple.
I love:
By extension also PL/SQL I guess, but that one fucking sucks
Yeah that’s a great pick