this post was submitted on 23 Apr 2022
10 points (100.0% liked)

General Programming Discussion

7704 readers
23 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

Is it helpful for coding in visual impairment?

top 14 comments
sorted by: hot top controversial new old
[โ€“] marty@lemmy.ml 6 points 2 years ago (2 children)

Depending on your mood I would think either Shakespeare, Chef, or Rockstar ๐Ÿ˜ƒ

[โ€“] vi21@lemmy.ml 3 points 2 years ago

Chef is at least understandable for me.

[โ€“] dragnucs@lemmy.ml 1 points 2 years ago

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

[โ€“] nachtigall@feddit.de 6 points 2 years ago* (last edited 2 years ago) (4 children)

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.

[โ€“] DerPapa69@lemmy.ml 4 points 2 years ago

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

[โ€“] tmpod 3 points 2 years ago

Yeah that's a great pick

[โ€“] Echedenyan@lemmy.ml 1 points 2 years ago

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

[โ€“] vi21@lemmy.ml 1 points 2 years ago

I love:

end loop; 
[โ€“] projjalm@lemmy.ml 2 points 2 years ago (1 children)

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

[โ€“] vi21@lemmy.ml 3 points 2 years ago (2 children)

How do you read Python's indents aloud?

[โ€“] LIESGREEDMISERY@lemmy.ml 2 points 2 years ago (1 children)

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 2 points 2 years ago

Reading Python code block like it is Ada is attractive.

[โ€“] projjalm@lemmy.ml 1 points 2 years ago (1 children)

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

[โ€“] vi21@lemmy.ml 2 points 2 years ago

Yes, we can.