Why is the default terminal width 80 characters?

后端 未结 6 1291
梦毁少年i
梦毁少年i 2021-01-31 16:24

80 seems to be the default in many different environments and I\'m looking for a technical or historical reason. It is common knowledge that lines of code shouldn\'t exceed 80 c

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-31 16:52

    One of the characteristics of good typography is properly set measure - length of the line of characters.

    There is an optimum width for a Measure and that is defined by the amount of characters are in the line. A general good rule of thumb is 2-3 alphabets in length, or 52-78 characters (including spaces).

    It simply makes sense to make your text readable.

    See Five simple steps to better typography for more info.

提交回复
热议问题