vi21@lemmy.ml to General Programming Discussion@lemmy.ml · 3 years agoGiven we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedimessage-squaremessage-square14fedilinkarrow-up110arrow-down10file-text
arrow-up110arrow-down1message-squareGiven we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedivi21@lemmy.ml to General Programming Discussion@lemmy.ml · 3 years agomessage-square14fedilinkfile-text
minus-squareProjjal@lemmy.mllinkfedilinkarrow-up2·3 years agoFor me, it’ll be python, as it is over-readable in text as well.
minus-squareLIESGREEDMISERY@lemmy.mllinkfedilinkarrow-up2·3 years agoIs 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”
minus-squarevi21@lemmy.mlOPlinkfedilinkarrow-up2·3 years agoReading Python code block like it is Ada is attractive.
minus-squareProjjal@lemmy.mllinkfedilinkarrow-up1·3 years agoOh yes, forgot of that. We can modify the syntax a bit I guess?
For me, it’ll be python, as it is over-readable in text as well.
How do you read Python’s indents aloud?
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.
Oh yes, forgot of that. We can modify the syntax a bit I guess?
Yes, we can.