Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v9lm2k$12qhv$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v9lm2k$12qhv$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kalevi@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: I did not inhale
Date: Thu, 15 Aug 2024 19:48:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <v9lm2k$12qhv$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de>
Injection-Date: Thu, 15 Aug 2024 21:48:36 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a2d369a82841af17ea535fc3f28ea37f";
	logging-data="1141311"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18X8fV5OPjxVyY6ilH8f0F2ZTuxlLZKx5s="
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/6.10.3-200.fc40.x86_64 (x86_64))
Cancel-Lock: sha1:EY7FrQjgBCl09iFjld+G/kCY3Ig=
Bytes: 2409

In comp.unix.programmer Stefan Ram <ram@zedat.fu-berlin.de> wrote:
> Sometimes, there seem to be some choices how to do something in
> Python.

Of course. The slogan is just, well, a slogan, not to
be taken 100% literally. For example, there are almost
always some choices to be made whether to use
object-oriented features or not.

Some years ago I wrote a simple but useful Python
script for searching eBay items. It is so
simple that no classes are really necessary, one
could use just dictionaries/hashes instead. But for
some sanity, I think I used a class or two to
make things a bit better organized and self-documenting.

The last I checked, the O'Reilly Python book is just
absolutely *MASSIVE*. The language has a huge number
of features now and it is pretty obvious that choosing
which ones to use can be a matter of preference. So
there is no "One True Way" to choose.

I guess this is not much different from C++ which proclaims
to be multi-paradigm, but nobody ever uses the immense
full feature set. I've been told that all serious 
C++ programming teams stick to a subset of features
that are allowed to be used.

br,
KK