Why programmers like to use dark mode

The public account [National Programmer] Gives back fan benefits: cash red envelopes and book delivery activities are in progress , click to participate !

My new book "Android App Development Introduction and Actual Combat" was published by People's Posts and Telecommunications Publishing House in August 2020. Welcome to buy.

For book details, please see: https://blog.csdn.net/ddnosh/article/details/107666187

Growth is always so mysterious and amazing. It is because we are not paying attention that we are not surprised.

Remember that in the previous DOS and Linux era, the terminals used dark mode, the reason is that this can provide the highest contrast. In fact, there is another reason that the display at that time was CRT, 50/60Hz flicker would cause visual fatigue, but now with TFT and OLED screens, flicker is no longer a problem, and the contrast support is also very good.

Then why do many programmers still like to use dark mode?

Here, the national programmers summarized the following reasons.

  1. The theory of
    Insert picture description here
    just attracting bugs is impossible to study, but as a programmer who is troubled by bugs, this may be a reason.

  2. Relieve eye fatigue

I think this should be considered a more reliable reason. Because for programmers, you need to stare at the display for a long time, if you use the bright color mode, it is more likely to cause eye fatigue. Bright mode produces a lot of blue light and glare, while dark mode does not.

  1. focus

Another problem is that the bright color mode will draw the programmer's attention away. The programmer's attention should be in the code, not in the bright color area outside the code.

  1. Strong contrast

From an ergonomic point of view, the depth mode can provide strong contrast. For programmers, they can focus more on the highlighted code rather than outside the code.

Here are two pictures for a comparison:
Insert picture description here
Insert picture description here
5. Office environment reasons

Because programmers are often in a relatively dark environment, such an environment will feel very uncomfortable if the bright color mode is used. We all have the feeling that in a room with no lights on, if the display is in bright color mode, the eyes will sometimes fail to see the screen. So we will lower the brightness of the screen to suit our eyes.

  1. Dark mode is cool

Some people find it easier to use dark mode to make themselves like a hacker? ?
Insert picture description here

How to use bright and dark mode correctly?

We have seen a lot of software designed into two modes, day and night. The bright mode is used during the day, and the dark mode is used at night. These two modes are mainly to match the light intensity of the surrounding environment.

In fact, the most comfortable reading mode is to match the brightness of the surrounding light with the brightness of the screen. In other words, in a well-lit environment, the bright color mode may be more advantageous, while in a dark environment, the dark mode is more suitable.

Welcome to pay attention to my technical public number: national programmers , our goal: output dry goods

  1. Share original technical articles every day
  2. Massive free technical materials and video learning resources
  3. Share the ways to make money and lead programmers to financial freedom
Picture name

Guess you like

Origin blog.csdn.net/ddnosh/article/details/109306203