Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!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.087 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'explicit': 0.07; 'correct,': 0.09; 'cc:addr:python-list': 0.11; 'creates': 0.14; 'dislike': 0.16; 'readability': 0.16; 'subject:sub': 0.16; 'written.': 0.16; '\xc2\xa0i': 0.16; 'variable': 0.18; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'cc:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'use?': 0.31; 'probably': 0.32; 'cases': 0.33; 'received:google.com': 0.35; 'subject:?': 0.36; 'skip:& 10': 0.38; 'handle': 0.38; 'use.': 0.39; 'enough': 0.39; 'read': 0.60; 'skip:n 30': 0.60; 'break': 0.61; 'name:': 0.61; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'believe': 0.68; 'yes': 0.68; 'beautiful': 0.68; 'special': 0.74; 'beats': 0.84; 'zen': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=B45CnTh2UQC4Z0k/FMZH7s6p454XNVBy51qVMTeg2Hg=; b=Eav/iCUbm8roKdUscxIeVbBcDDSvp9GuguXDIk95iv1oX48ZhB9odIEwMQKR4w+O57 rHjOksI0Xu5Z1GQFgFJJvWFzFv+7DCYckZMSkt/tT2O27jBUVyzxfTiLsybSLoTkKreH UHrOw6WbdjbBiQ5sTMiJufZRGAV70wiMxwNAqTCsEK/n5woMNq8XJ89BRk7gDAfqQ6LQ IObkZ5pMWAyrHIUeJyjHuyDd1VzcTKdfKsath+oe0ZzZj2lJ8+043+l5gP90/qmK9/VK dDEjPdAO0MNyg34waf6p0TuK1AbKSYbF6oS9Jsh9hF0KrGGJf+//tC8lY2ju2lGXwhWx QSkg== MIME-Version: 1.0 X-Received: by 10.50.180.197 with SMTP id dq5mr4002525igc.22.1365989917969; Sun, 14 Apr 2013 18:38:37 -0700 (PDT) In-Reply-To: References: <5163be52$0$29977$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 14 Apr 2013 19:38:37 -0600 Subject: Re: classes and sub classes? From: Jason Friedman To: Morten Guldager Content-Type: multipart/alternative; boundary=14dae9340b73d3f66c04da5c4f72 Cc: python-list 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: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365989926 news.xs4all.nl 2623 [2001:888:2000:d::a6]:36223 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43591 --14dae9340b73d3f66c04da5c4f72 Content-Type: text/plain; charset=UTF-8 > NwInvDb = NetworkInventoryDatabase, yes you are correct, it creates the database handle and makes it ready for use. I am interested in opinions. I for one dislike abbreviations on the theory that programs are read more than they are written. I would probably use this variable name: network_inventory_db_connection = ... And yes, I'm aware that "db" is an abbreviation. I believe I am following a few Zen principles: Beautiful is better than ugly. Explicit is better than implicit. Readability counts. Special cases aren't special enough to break the rules, Although practicality beats purity. What would others use? --14dae9340b73d3f66c04da5c4f72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> NwInvDb =3D NetworkInventoryDatabase, yes you are cor= rect, it creates the database handle and makes it ready for use.

I am interested in opinions. =C2=A0I for one dislike abbrevi= ations on the theory that programs are read more than they are written. =C2= =A0I would probably use this variable name:

network_inventory_db_connection =3D ...

And yes, I'm aware that "db"= ; is an abbreviation. =C2=A0I believe I am following a few Zen principles:<= /div>
Beautiful =
is better than ugly.
Explicit is better than implicit.
Readability counts.
Special cases aren't special enough to break the rules, Although practi=
cality beats purity.
What would others use?
--14dae9340b73d3f66c04da5c4f72--