From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107f24,626a0a064b320310 X-Google-Attributes: gid107f24,public X-Google-Thread: f4fd2,626a0a064b320310 X-Google-Attributes: gidf4fd2,public X-Google-Thread: 103d24,626a0a064b320310 X-Google-Attributes: gid103d24,public X-Google-Thread: 103376,ea8ea502d35ca2ce X-Google-Attributes: gid103376,public X-Google-Thread: 10259a,626a0a064b320310 X-Google-Attributes: gid10259a,public X-Google-Thread: 114809,626a0a064b320310 X-Google-Attributes: gid114809,public X-Google-Thread: 1164ba,626a0a064b320310 X-Google-Attributes: gid1164ba,public X-Google-ArrivalTime: 2001-06-02 06:37:40 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.70!typhoon.ne.mediaone.net.POSTED!not-for-mail Sender: jk@euler.axel.nom Newsgroups: comp.lang.ada,comp.lang.lisp,comp.lang.smalltalk,comp.lang.basic,comp.lang.functional,comp.lang.scheme,comp.lang.perl Subject: Re: Beginner's Language? References: From: Johan Kullstam Organization: none Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 02 Jun 2001 13:37:38 GMT NNTP-Posting-Host: 66.30.138.210 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 991489058 66.30.138.210 (Sat, 02 Jun 2001 09:37:38 EDT) NNTP-Posting-Date: Sat, 02 Jun 2001 09:37:38 EDT Xref: archiver1.google.com comp.lang.ada:8017 comp.lang.lisp:11218 comp.lang.smalltalk:10447 comp.lang.functional:6046 comp.lang.scheme:4105 comp.lang.perl:3126 Date: 2001-06-02T13:37:38+00:00 List-Id: "Frank A. Adrian" writes: > P.S. Any language where you can add two positive numbers together and get a > negative number is inherently broken. it depends upon what you mean by "number" and what you mean by "negative". sometimes you really do want to work in the ring Z_{2^32}. e.g., i often represent angles in terms of 2^32 quanta per revolution. when the 32 bit "int" wraps, so does the angle -- exactly as intended. i agree that it is a pain to have no way to use integers Z, but are forced to choose among Z_{2^N} for a few ill-defined choices of N. > It is a sign of the language designer and compiler writer choosing > their own convenience over yours. -- J o h a n K u l l s t a m [kullstam@ne.mediaone.net] Don't Fear the Penguin!