Why should I use a human readable file format?

后端 未结 24 1876
日久生厌
日久生厌 2020-12-04 17:53

Why should I use a human readable file format in preference to a binary one? Is there ever a situation when this isn\'t the case?

EDIT: I did have this as an explana

24条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 17:57

    Why should I use a human readable file format in preference to a binary one?

    Depends on the content and context, i.e. where is the data coming from and going. If the data is typically directly written by a human, storing it in an format that can be manipulated through a text editor is a good idea. For example, program source code will normally be stored as human readable with good reason. However, if we are archiving it, or sharing it using a version control system, our storage strategy will change.

提交回复
热议问题