The inspiration I got from writing code with my eyes closed

The inspiration I got from writing code with my eyes closed

[[127460]]

I am a programmer, and I am also a blind person. There have never been any pictures in my world, and I was born blind.

Whenever new colleagues—people who have never experienced any form of visual impairment—hear about my story, they often come up to me and ask me these questions:

So, how do you read someone else's code?

Wow! How do you write code?

Or, the most common one - Do you dream?

I get asked these questions over and over again. So today's topic is mainly about answering these three questions. I will try to answer the biggest confusion of everyone - how do blind people write code?

About how to type

Many people have the impression that blind people need specially modified computers to use them, and even some people who have visual impairments agree with this view.

Well, let me reveal the secret now. The words you see above and the words I will write below were typed on a very ordinary Dell Inspiron 15r SE laptop that you can buy in any Dell laptop store. It is running Windows 8 (which comes pre-installed). All I had to do was install an open source screen reader called NVDA (www.nvaccess.org).

A screen reader, basically, does — wait for it — reads what’s on the screen. It converts the text on the screen into speech via a Siri-like voice.

Screen readers also allow the use of braille displays, which are devices where the braille cells are constantly refreshed to form new letters based on what's highlighted on the screen.

All visually impaired computer users need to adapt to this. This program allows me to do many things that you may not be able to imagine with your eyes closed, such as:

Browse the web with Firefox

Use Microsoft Word to write reports and format them according to the strict requirements of university professors

Write blog posts, like this one

Recording, editing, mixing and publishing audio (singing and making music is also one of my hobbies)

Use audio production apps such as Reaper, Goldwave, Audacity, and Sonar

Coding websites and apps using Eclipse, Visual Studio, and good old Notepad++

The reason I list these techniques is to show that I can use them just like you.

About how to code

For example, the following code:

  1. if (x = 5 ){
  2. print ( "hello world!" )
  3. }

The read-out effect is: If left bracket x equals 5 right bracket left curly bracket print left bracket quotation mark hello world exclamation mark quotation mark right bracket right curly bracket.

This is a typical if module Java programming language, and what I hear is the long sentence above. I tend to turn off the voice notifications of brackets and brackets first, and then pay attention to the content in the brackets when I need bracket matching debugging later, so that I won’t be confused by the overly long description. Some people like to replace the default "left brace" with "curly brace" or "start" just to save a few milliseconds. To be honest, this speed is quite fast for those who are not used to it.

You may not believe it, but I actually wrote this blog post in NotePad++ by voice reading.

So, my coding style may not be fundamentally different from yours, and you don’t have to imagine how awesome I am. The only difference is that I don’t use a mouse, I use shortcut keys and command lines.

Unfortunately, in the field of blind programming, nothing is perfect. I can't use the main tools that programmers use every day, such as the IntelliJ editor and all its derivatives (PHPStorm, WebStorm, PyCharm). Because the developers of these programs did not follow the accessibility principles, just like not setting up an accessible path when building a park. The same is true for SourceTree. Although it is slowly improving, it still makes me extremely painful every time I use it.

As a result, I had to constantly look for available tutorials, programs, and tools, rather than just picking one up off the shelf at the supermarket.
About How I Dream

I also dream, just like you do. Basically, I receive information during the day, and then feed these experiences and nerve excitement into dreams at night. The difference is that I can't actually see anything.

However, I can hear, smell, and feel everything, just like in real life. The reason is simple: the visual images in dreams are constructed on the basis of stored visual knowledge. Since I have never seen anything since I was born, I have no visual framework to refer to. For example, I once encountered a big 404 error in my dream: but there was no picture.
Write code with me

I sincerely hope that this article can be helpful to everyone, whether it is encouragement or motivation. Programming is a very interesting job and a high-paying job that can support myself. I hope everyone can study well with me and do it day by day:)

<<:  Join 51CTO Academy’s iOS employment class and realize your dream and achieve high salary!

>>:  This may be Apple's first service to enter Android

Recommend

10 secrets of Apple: Inside Apple's product design studio

If we were to add an adjective to Apple, there wo...

How to retain high-value users? Here are some suggestions for you!

The user life cycle of each product is a process ...

Super complete SEM optimization solution! Practical case analysis

This article will teach you how to make an execut...

How to use short videos to attract traffic accurately?

In fact, when we operate short videos , we also n...

Dubai considers deploying driverless cars in metro stations and malls

Recently, driverless cars were put into trial oper...

Newbie on the road: How do I do my operations work?

The daily operation of an Internet company is the...

B Station Brand Marketing Guide!

Keywords of this article: Bilibili , brand market...

Sales strategy everyone needs to learn: Sell everything you want to sell

Wang Gang is a practical elite with annual sales ...