From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: is Lisp used in text parsing and processing tasks? Date: 13 Nov 2002 21:18:28 +0000 Organization: Naggum Software, Oslo, Norway Lines: 22 Message-ID: <3246211108798360@naggum.no> References: <994828d9.0211121253.54b3a821@posting.google.com> <86ptt9d552.fsf@rowlf.interhack.net> <3DD29578.6040305@nyc.rr.com> <7h3of8tz43w.fsf@pc150.maths.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1037222309 18837 129.240.65.205 (13 Nov 2002 21:18:29 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 13 Nov 2002 21:18:29 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:46526 * Michael Hudson | What would _really bad_ Common Lisp look like? It is posted here from time to time. Just use a `setq´ of free variables that are not declared special, and you are half there with just one major ugliness. Then think you are writing in Scheme and you have taken another half out of the rest of the journey to worst-possible Common Lisp. And if you really want to do a good approximation, think you are writing in C and do your own allocation of all objects from a pre-allocated pool and crash when you run out of space from that pool or any other error happens. Do not use the exception system, but use reasonable return values for errors (like -1 where it really is a valid value). Avoid multiple return values and pass values back through "global" variables. Use Hungarian notation and variable names in Polish, but do not declare types. Avoid hyphen, use underscore /and/ StudlyCaps. Sprinkle whitespace, including line breaks, after open and before close parens. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.