Article View: cn.comp.os.linux
Article #10668Strange Names -- from emacs-lisp-intro
From: It's me FKtPp ;)
Date: Mon, 30 Jun 2003 07:16
Date: Mon, 30 Jun 2003 07:16
36 lines
3491 bytes
3491 bytes
--8<---------------cut here---------------start------------->8--- Strange Names ============= The name of the `cons' function is not unreasonable: it is an abbreviation of the word `construct'. The origins of the names for `car' and `cdr', on the other hand, are esoteric: `car' is an acronym from the phrase `Contents of the Address part of the Register'; and `cdr' (pronounced `could-er') is an acronym from the phrase `Contents of the Decrement part of the Register'. These phrases refer to specific pieces of hardware on the very early computer on which the original Lisp was developed. Besides being obsolete, the phrases have been completely irrelevant for more than 25 years to anyone thinking about Lisp. Nonetheless, although a few brave scholars have begun to use more reasonable names for these functions, the old terms are still in use. In particular, since the terms are used in the Emacs Lisp source code, we will use them in this introduction. --8<---------------cut here---------------end--------------->8--- ��ֵ����� ���������� `cons'�����������ֲ���û���ɵ�Ϲ��ģ�����`construct'�����죩��� �ʵļ�д����`car'��`cdr'����Դ���ɾ�����ˣ�`car'�Ƕ���`Contents of the Address part of the Register'���Ĵ�����ַ���ֵ����ݣ�����д���� `cdr' �Ƕ���`Contents of the Decrement part of the Register'���Ĵ����� ���������ݣ�����д����Щ����ָ���Ǻܾúܾ���ǰ��������Lisp�ļ�����ij ��Ӳ������*���˱�����֮�⣬��Щ�����Ѿ����κ�ʹ��Lisp������ȫ�����25 �����*���˶η��벻��ȷ����ȻһЩ�¸����Ѿ���ʼΪ��Щ�������˸������� �����֣�����Щ����ƻ���һֱ��ʹ���š��ر�����ΪEmacs LispԴ������ʹ�� ����Щ����ƣ��������ǽ������������ʹ�����ǡ� -- ��ϲ���㣬Lisp��㣬�ԴӰ���һ�μ���������ϲ�� *^_^* �㲻����� ��Ҳϲ��JAVA���ðɣ��� :P
Technical Details
Message-ID:
<wkhe681aoq.fsf@yahoo.com.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB X-Google-Thread: 10b277,cfbec38333795d25,start X-Google-Attributes: gid10b277,public X-Google-ArrivalTime: 2003-06-30 18:35:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!not-for-mail From: "It's me FKtPp ;)" <m_pupil@yahoo.com.cn> Newsgroups: cn.comp.os.linux Subject: Strange Names -- from emacs-lisp-intro Date: Mon, 30 Jun 2003 15:16:40 +0800 Organization: Bentium Ltd. (CN99) Lines: 36 Message-ID: <wkhe681aoq.fsf@yahoo.com.cn> NNTP-Posting-Host: 61.134.143.83 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Trace: mail.cn99.com 1057023251 62724 61.134.143.83 (1 Jul 2003 01:34:11 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Tue, 1 Jul 2003 01:34:11 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt)