Path: csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'static': 0.04; 'subject:Python': 0.06; '21,': 0.07; 'c++,': 0.07; 'feature.': 0.09; 'assume': 0.14; 'denying': 0.16; 'exceptions,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'garbage': 0.16; 'subject:Java': 0.16; 'sugar': 0.16; 'syntactic': 0.16; 'exception': 0.16; 'language': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'typing': 0.19; 'written': 0.21; 'proposed': 0.22; 'separate': 0.22; 'fairly': 0.24; 'java': 0.24; 'mon,': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; "we'd": 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'getting': 0.31; 'exceptions': 0.31; 'languages': 0.32; 'could': 0.34; 'subject: (': 0.35; 'operations': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'c++': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'between': 0.67; 'language!': 0.84; 'differences': 0.93; 'hand,': 0.93; '2013': 0.98 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:content-transfer-encoding; bh=HFKyOGHUgxcWlkoBbZtY+T7zbyO15JcKaF3D7fhgK2U=; b=SMpTox/7LXfHVwNlI1yz8iTAm/yuj/mlH8qgIYbzt0BD8jU1gIB1HMRaQVonJYaIAn sH7Vh1fwP5M8KJ5FvyDTkHC9kGKVxuCrHWH0AyttQ4DrsU+Cn/BMh9QfYsWMnjsuoqeJ 3UX/+nan0gp+Q+v/4E1dgNAM77qNop0r8PVIz2aM+qi6foUS6ID4770MdN7j2xq7RAtR PRoVGczMcEoz5EsSUOIUtZ4yCiibTHGn20u4A7LywfT2ylp8GRTLFptLR3s+iueMRyRA fezw4COmDTmZxlu6puZkOtgJf+7eqLqFzJIDrdZ+YJWVKNxaQnC4/cLGKVm6TWGqjoZQ X1GQ== MIME-Version: 1.0 X-Received: by 10.68.195.233 with SMTP id ih9mr1190548pbc.160.1382338865636; Mon, 21 Oct 2013 00:01:05 -0700 (PDT) In-Reply-To: <91c7fd83-3e8b-4c41-9e16-7baaac518397@googlegroups.com> References: <91c7fd83-3e8b-4c41-9e16-7baaac518397@googlegroups.com> Date: Mon, 21 Oct 2013 18:01:05 +1100 Subject: Re: Python was designed (was Re: Multi-threading in Python vs Java) From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382338873 news.xs4all.nl 15942 [2001:888:2000:d::a6]:47742 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57175 On Mon, Oct 21, 2013 at 5:44 PM, Peter Cacioppi wrote: > I've written a fair bit of code in pure C, C++, C#, Java and now getting = there in Python. > > The difference between C# and Java is fairly minor. > > The others have large and significant differences between them. Garbage c= ollectors or not is huge. Exceptions or not is huge. Dynamic or static typ= ing is huge. Language support for polymorphism or not is huge. > > This is just one language feature. I could go on and on. The idea that th= e differences between these languages is just syntactic sugar and aesthetic= s is so profoundly misguided that I can only assume that this misconception= was proposed as a bizarre form of trolling. I don't think anyone's denying that there are differences. If there weren't, we'd all be using the same language! But most of what you said isn't object orientation. Garbage collection is huge, but it's nothing to do with OOP. Exceptions are completely separate again. (And exception *usage* is separate from exceptions. C++ and PHP both support exceptions, but most operations don't raise them. Python, on the other hand, uses exceptions for everything.) ChrisA