Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21124
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.036 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.05; 'decent': 0.07; 'rounds': 0.07; 'to)': 0.07; 'integers': 0.09; 'received:10.50': 0.09; 'am,': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'work"': 0.16; 'wrote:': 0.18; 'received:209.85.210.174': 0.21; 'received :mail-iy0-f174.google.com': 0.21; 'subject:list': 0.21; 'header :In-Reply-To:1': 0.22; '(or': 0.22; 'ignore': 0.24; 'expect': 0.25; 'fact': 0.27; 'producing': 0.28; 'message- id:@mail.gmail.com': 0.29; 'definition': 0.30; 'it.': 0.33; 'fri,': 0.34; 'lee': 0.34; 'integer': 0.34; 'measure': 0.34; 'safely': 0.34; 'to:addr:python-list': 0.35; 'two': 0.36; 'received:google.com': 0.37; 'skip:" 10': 0.37; 'received:209.85': 0.38; 'third': 0.38; 'data': 0.38; 'received:209': 0.39; 'point': 0.40; 'to:addr:python.org': 0.40; 'easy': 0.60; 'header:Received:6': 0.61; 'results': 0.64; 'with,': 0.73; 'subject:,': 0.82; '"just': 0.84; 'casting': 0.84; 'negatives,': 0.84; 'semantics,': 0.84; 'xah': 0.84; 'subject:place': 0.91; 'subject:lang': 0.95 |
| Received-SPF | pass (google.com: domain of rosuav@gmail.com designates 10.50.170.41 as permitted sender) client-ip=10.50.170.41; |
| Authentication-Results | mr.google.com; spf=pass (google.com: domain of rosuav@gmail.com designates 10.50.170.41 as permitted sender) smtp.mail=rosuav@gmail.com; dkim=pass header.i=rosuav@gmail.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9WecdTzbu1eU+ASoRQ1xg5bPL+YXFKcD4ChSHTUd6HU=; b=HMxwPQvjkAj5ZfDy99UM9z21DhyMzJQxDVvOhVKH9LFeBdm/3P/T9bx00g9/xqkze3 0pyephmPnS+CJM74vloP36bpE+JlNGkFkjZYTEtBDhB4gj8tYoH9jXMft8y4l/UnDAsJ Ts4ywa2/m4RJR5OCJT01qA2+VVMJhS8i4JtlDy1R1moAX86tqC+hKhu5EFNJ/Qcaz2R6 5nUrbCoQ2+EhHVaIQrkNvVFwYu7KUOD4m0aPCMY8wOHNd0wAtM7npDwYBHrrw1l8EQs5 1KoDcHJ2fpP9h9ynghcaU8/5lZVJO/QqzmEaywkl3D/h1zDsudQ71sKMc14hQ+GcsUec 54Gg== |
| MIME-Version | 1.0 |
| In-Reply-To | <8e769add-e63c-4a74-bb7e-ddd36c04a415@vs5g2000pbc.googlegroups.com> |
| References | <85fa5760-68c8-41a2-9116-2489165f7ca1@j5g2000yqm.googlegroups.com> <jin5fp03os@enews1.newsguy.com> <20120229231658.89@kylheku.com> <wkv4d38we76f.fsf@runa.se> <20120301064937.505@kylheku.com> <8e769add-e63c-4a74-bb7e-ddd36c04a415@vs5g2000pbc.googlegroups.com> |
| Date | Fri, 2 Mar 2012 18:11:29 +1100 |
| Subject | Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.341.1330672293.3037.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1330672293 news.xs4all.nl 6957 [2001:888:2000:d::a6]:52782 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21124 |
Show key headers only | View raw
On Fri, Mar 2, 2012 at 9:04 AM, Xah Lee <xahlee@gmail.com> wrote: > One easy > way to measure it is whether a programer can read and understand a > program without having to delve into its idiosyncrasies. Neither the behavior of ints nor the behavior of IEEE floating point is a "quirk" or an "idiosyncracy". These are data types with well-defined semantics, and you need to understand them to use them. The fact that dividing two positive integers and producing (or casting to) a third integer rounds the result down is just as much a part of the definition as is two's complement negatives, which most people can safely ignore because they "just work" the way you expect. Learn what you're working with, if you expect to get decent results from it. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
lang comparison: in-place algorithm for reversing a list in Perl, Python, Lisp Xah Lee <xahlee@gmail.com> - 2012-02-29 20:07 -0800
Re: lang comparison: in-place algorithm for reversing a list in Perl, Python, Lisp Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-01 05:01 +0000
Re: lang comparison: in-place algorithm for reversing a list in Perl, Python, Lisp Xah Lee <xahlee@gmail.com> - 2012-02-29 21:39 -0800
Re: Re: lang comparison: in-place algorithm for reversing a list in Perl, Python, Lisp Evan Driscoll <driscoll@cs.wisc.edu> - 2012-03-01 00:07 -0600
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp "WJ" <w_a_x_man@yahoo.com> - 2012-03-01 06:37 +0000
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-03-01 22:14 +0000
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp Xah Lee <xahlee@gmail.com> - 2012-03-01 14:04 -0800
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp Chris Angelico <rosuav@gmail.com> - 2012-03-02 18:11 +1100
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp Xah Lee <xahlee@gmail.com> - 2012-03-02 03:30 -0800
Re: lang comparison: in-place algorithm for reversing a list in Perl, Python, Lisp Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-03-01 14:39 +0000
Re: lang comparison: in-place algorithm for reversing a list in Perl,Python, Lisp "WJ" <w_a_x_man@yahoo.com> - 2012-03-02 07:17 +0000
csiph-web