Is it helpful for coding in visual impairment?

Depending on your mood I would think either Shakespeare, Chef, or Rockstar 😃

@vi21@lemmy.ml
creator
link
fedilink
29M

Chef is at least understandable for me.

Rockstar would be awesome to listen to. More so if it sung.

@nachtigall@feddit.de
link
fedilink
5
edit-2
9M

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.

By extension also PL/SQL I guess, but that one fucking sucks

Tmpod
link
fedilink
29M

Yeah that’s a great pick

Pascal would fit too and I think that in a better way since the language is more simple.

@vi21@lemmy.ml
creator
link
fedilink
09M

I love:

end loop; 
Projjal
link
fedilink
19M

For me, it’ll be python, as it is over-readable in text as well.

@vi21@lemmy.ml
creator
link
fedilink
29M

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”

@vi21@lemmy.ml
creator
link
fedilink
19M

Reading Python code block like it is Ada is attractive.

Projjal
link
fedilink
09M

Oh yes, forgot of that. We can modify the syntax a bit I guess?

@vi21@lemmy.ml
creator
link
fedilink
19M

Yes, we can.

General Programming Discussion
!programming@lemmy.ml

    A general programming discussion community.

    Rules:

    1. Be civil.

    Other communities:

    • /c/rust
    • /c/python
    • /c/powershell
    • /c/haskell
    • /c/fpcomplete
    • /c/cpp
    • /c/c_programming
    • /c/julia
    • 0 users online
    • 4 users / day
    • 14 users / week
    • 34 users / month
    • 108 users / 6 months
    • 5 subscribers
    • 809 Posts
    • 1.14K Comments
    • Modlog