Is it helpful for coding in visual impairment?

Projjal
link
fedilink
2um ano

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

@vi21@lemmy.ml
creator
link
fedilink
3um ano

How do you read Python’s indents aloud?

Projjal
link
fedilink
1um ano

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

@vi21@lemmy.ml
creator
link
fedilink
2um ano

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”

@vi21@lemmy.ml
creator
link
fedilink
2um ano

Reading Python code block like it is Ada is attractive.

@marty@lemmy.ml
link
fedilink
6um ano

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

@dragnucs@lemmy.ml
link
fedilink
1um ano

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

@vi21@lemmy.ml
creator
link
fedilink
3um ano

Chef is at least understandable for me.

@nachtigall@feddit.de
link
fedilink
6
edit-2
um ano

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.

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

@vi21@lemmy.ml
creator
link
fedilink
1um ano

I love:

end loop; 

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

Tmpod
admin
link
fedilink
3um ano

Yeah that’s a great pick

General Programming Discussion
!programming@lemmy.ml
Create a post

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
  • 1 user / day
  • 3 users / week
  • 18 users / month
  • 106 users / 6 months
  • 2 subscribers
  • 564 Posts
  • 816 Comments
  • Modlog