Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!mcvax!enea!kuling!christer From: christer@kuling.UUCP (Christer Johansson) Newsgroups: net.lang.lisp Subject: Re: Common LISP style standards. Message-ID: <943@kuling.UUCP> Date: Mon, 12-May-86 20:41:27 EDT Article-I.D.: kuling.943 Posted: Mon May 12 20:41:27 1986 Date-Received: Thu, 15-May-86 06:12:07 EDT References: <2784@jhunix.UUCP> Reply-To: christer@kuling.UUCP (Christer Johansson) Followup-To: net.lang.lisp Organization: (Studying CS at the) University of Uppsala, Sweden Lines: 23 In article <2784@jhunix.UUCP> of Sun, 11-May-86 04:58:41 GMT ins_amrh@jhunix.UUCP writes: > - How do you reference global variables? Usually you enclose it > in "*"s, but how do you differentiate between your own vars and > Common LISP vars such as *standard-input*, *print-level*, etc? I'd suggest enclosing your global var's in something else then stars. > - NULL vs ENDP, FIRST vs CAR, etc. Some would say "FIRST" is > more mnemonic, but does that mean you need to use > (first (rest (first X))) instead of (cadar X) ?? I use car, cdr, cons when I use conses as nodes in trees, but first, second, third, rest, n:th etc. when I use them as sequences. I think Steel says something on the ue of endp vs. null vs. not. I think null and endp works different on arguments that are conses with cdr being an other atom then null. -- SMail: Christer Johansson UUCP: {seismo,seismo!mcvax}!enea!kuling!christer Sernandersv. 9:136 ARPA: enea!kuling!christer@SEISMO.CSS.GOV S-752 63 Uppsala Phone: Int. +46 - 18 46 31 54 SWEDEN Nat. 018 - 46 31 54