Deutsch English Français Italiano |
<utjv9u$2u8be$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Chris Ahlstrom <OFeem1987@teleworm.us> Newsgroups: comp.os.linux.advocacy Subject: Re: Why Python When There Is Perl? Date: Fri, 22 Mar 2024 08:58:36 -0400 Organization: None Lines: 25 Message-ID: <utjv9u$2u8be$1@dont-email.me> References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com> <utd86u$1ipcj$1@solani.org> <utfo33$1o6mu$3@dont-email.me> <l61vaiFn16lU2@mid.individual.net> <utgikt$21nsq$1@dont-email.me> <l646ogF2m1hU4@mid.individual.net> Reply-To: OFeem1987@teleworm.us MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 22 Mar 2024 12:58:39 -0000 (UTC) Injection-Info: dont-email.me; posting-host="7be2011231067dac7dad055ad83a661d"; logging-data="3088750"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wxlZUcjqlPMpWPJCJMXh4" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:7lWSMPNdjNwaeFFOozE0winYblc= X-User-Agent: Microsoft Outl00k, Usenet K00k Editions X-Mutt: The most widely-used MUA X-Slrn: Why use anything else? Bytes: 2310 rbowman wrote this copyrighted missive and expects royalties: > On Thu, 21 Mar 2024 06:04:13 -0000 (UTC), Lawrence D'Oliveiro wrote: > >> Does he mention descriptors? They are rather key to understanding how >> instance/class/static method dispatching works (and properties). > > Yes. He also stresses that Python classes depend on a tacit agreement for > everyone to play nice. > > >> Does he talk about metaclasses? There is one use of them in the standard >> library (that I’m aware of), and I recently came up with another one. > > He hasn't yet. They are another bit of Python magic that most people > should leave well alone. That's another of the recurring themes. > 'Sometimes you can do this and it really makes sense. Most of the times it > doesn't so use it sparingly.) That's refreshing after some of the C++ > tutorials that lead you to believe you have to use every obscure feature > every time. I always follow the advice of Bjarne Stroupstrup and Scott Meyers. -- You will be recognized and honored as a community leader.