Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Considering migrating to Python from Visual Basic 6 for engineering applications Date: Sat, 20 Feb 2016 02:43:27 +1100 Lines: 35 Message-ID: References: <90cc50d2-1ce5-4588-9bfd-a49d439f00dd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de DHJYpEwIYEpUbBhoJpSqpQCIONy5zIb5+FFbbUql+HdQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; '(except': 0.05; 'cc:addr:python-list': 0.09; 'scripts': 0.09; 'identifier': 0.09; 'subject:Visual': 0.09; 'python': 0.10; 'subject: \n ': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'identifiers': 0.16; 'identifiers,': 0.16; 'ignores': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'set:': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'script.': 0.18; 'python?': 0.18; 'language': 0.19; '>>>': 0.20; 'library': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'ascii': 0.22; 'keywords,': 0.22; 'am,': 0.23; 'feb': 0.23; 'sat,': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'example': 0.26; 'right.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'allows': 0.30; 'anyone': 0.32; "can't": 0.32; '(for': 0.34; 'languages': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'something': 0.35; 'but': 0.36; 'too': 0.36; 'received:209.85': 0.36; 'basic': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'anything': 0.38; 'someone': 0.38; 'subject:from': 0.39; 'email addr:gmail.com': 0.62; 'course': 0.62; 'different': 0.63; 'complete': 0.63; 'kindly': 0.64; '20,': 0.66; 'else.': 0.66; 'letters': 0.67; 'advantages': 0.72; 'age.': 0.84; 'chrisa': 0.84; 'latin': 0.84; 'pain': 0.84; 'to:none': 0.91; 'same,': 0.91 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:cc :content-transfer-encoding; bh=9iVPVDOhZSzuo/2mYvLBJfG+C/Eh00kLL3RYsqYrwIw=; b=jHwsND//XkgB0xTRA6FrfUhf90FafvaS1LJzAjYituE4eZpKj245jSBbc1iIthiZzY wIOAIaSw7Vy9y59Oifm3Ewc+PXCowFVEncP3rf+9H3QNqSqSuuhQP3L1AiU4rHsK68EW 6JJsNSc15O0mhnK50Rgyn+jrKefARDyWZX4X/ARG9fGxLFALUX2W8NogfuUQ8S3UgYv1 Gr1vyd9JWrn4tkwAzru5q4rf6VwcjlOkPLHMdb4p3phRCqn1vQMI+7egCiVm7Th0r893 zc3pZ4mhMxnBDfX34X/3z8NBT+I7mzuFf5vSTrbnCFlXsCjXSBfX86Nc2+5aGW5U4ac7 yClg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-transfer-encoding; bh=9iVPVDOhZSzuo/2mYvLBJfG+C/Eh00kLL3RYsqYrwIw=; b=MkNEMG1nTNWPVHsrlaD5y1t8HVNRCsNG8RdusjxtvM5zKb3j9yl7LK0C1k3NIFXwnl AdQvhdS60//hbM/35jIRUaPMSSogaNVA0ISPq/rLkTpSlHLqf951Vh3Ef3HdSEYJqZRP wF4SYoseSeYvdJ0eJfVmb+TyT4Vh2/VnUQa4aqnYP5y1S6zU0NKXGr97fatDORgBXpgd flk+pButivzpOYqu7tfsPWCiL+TXbncQ8Lmr/Fh6dMgPoSYlaRuAV+zx7o49gCzLaAc1 flb+hYk9dduUIFpsKBvJaua3czSW6zW/CXIsVkZTQuO/3F8mgidEkYFcS1X8M9hx+PHe pzHA== X-Gm-Message-State: AG10YOTPQYS7vDVn+IYQ/TbBfGP18ImstjrCVX/OrcORGCCFigUSE0u6an+JeKOhP6d+BdddiMb89AvVU3E3Dw== X-Received: by 10.50.28.105 with SMTP id a9mr10268465igh.94.1455896607352; Fri, 19 Feb 2016 07:43:27 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103200 On Sat, Feb 20, 2016 at 2:34 AM, BartC wrote: > On 17/02/2016 19:49, wrong.address.1@gmail.com wrote: > >> Could someone kindly tell me advantages and disadvantages of Python? > > > Something I don't think anyone has mentioned is that Python is > case-sensitive. > > So keywords, identifiers, library functions and so on have to be written > just right. (For example the identifier "abcdef" can be written 64 differ= ent > ways, such as "aBCdEf", and they will all be different symbols.) > > This is a complete pain if you're used to a language that ignores case > (except in data). But pretty much every language now is the same, you can= 't > do much about it, you just need to be aware of it. Indeed. Most languages are case sensitive, because it's too risky to do anything else. Python 3 allows you to use other scripts than the basic Latin letters in the ASCII set: >>> =D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82 =3D "hello" and of course you wouldn't expect that to collide with something written in a completely different script. As far as the interpreter's concerned, "P" and "p" are just as different as are "A", "=CE=91", "=D0=90"= , and so on. Like with Fortran's peculiar freedom in whitespace, case insensitivity in identifiers is an unwanted relic of a past age. ChrisA