Tôi biết điều này đã cũ, nhưng gần đây nó đã xuất hiện trên Twitter và tôi nghĩ tôi sẽ chia sẻ nó vì nó có thẩm quyền.
Tôi:
@BrendanEich bạn đã chọn những cái tên đó?
Anh ta:
Tên Unix cũ, khó tìm trang man rn nhưng xem
https://www.unix.com/man-page/minix/1/btoa/ Lỗi . Các tên được chuyển từ Unix vào cơ sở mã Netscape. Tôi đã phản ánh họ vào JS một cách vội vàng vào năm 1995 (sau mười ngày vào tháng 5 nhưng sẽ sớm thôi).
Trong trường hợp liên kết Minix bị hỏng, đây là nội dung trang man:
BTOA(1) BTOA(1)
NAME
btoa - binary to ascii conversion
SYNOPSIS
btoa [-adhor] [infile] [outfile]
OPTIONS
-a Decode, rather than encode, the file
-d Extracts repair file from diagnosis file
-h Help menu is displayed giving the options
-o The obsolete algorithm is used for backward compatibility
-r Repair a damaged file
EXAMPLES
btoa <a.out >a.btoa # Convert a.out to ASCII
btoa -a <a.btoa >a.out
# Reverse the above
DESCRIPTION
Btoa is a filter that converts a binary file to ascii for transmission over a telephone
line. If two file names are provided, the first in used for input and the second for out-
put. If only one is provided, it is used as the input file. The program is a function-
ally similar alternative to uue/uud, but the encoding is completely different. Since both
of these are widely used, both have been provided with MINIX. The file is expanded about
25 percent in the process.
SEE ALSO
uue(1), uud(1).
Nguồn: Brendan Eich, người tạo ra JavaScript. https://twitter.com/BrendanEich/status/99861820872568422424