Deutsch English Français Italiano |
<valoof$35rt8$8@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!npeer.as286.net!npeer-ng0.as286.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Tue, 27 Aug 2024 23:50:39 -0000 (UTC) Organization: A noiseless patient Spider Lines: 22 Message-ID: <valoof$35rt8$8@dont-email.me> References: <vab101$3er$1@reader1.panix.com> <vad7ns$1g27b$1@raubtier-asyl.eternal-september.org> <vad8lr$1fv5u$1@dont-email.me> <vaf7f0$k51$2@reader1.panix.com> <vafgb2$1to4v$2@dont-email.me> <vafkdk$1ut4h$2@raubtier-asyl.eternal-september.org> <20240825192810.0000672c@yahoo.com> <vafs6u$21ofd$1@raubtier-asyl.eternal-september.org> <20240825220016.00002793@yahoo.com> <86bk1e4y7t.fsf@linuxsc.com> <20240827124443.0000483a@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 28 Aug 2024 01:50:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="52d1e1001450c2fe7f8121ab25cdb228"; logging-data="3338152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qAE3lawxIamCYVD5lCytA" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:alLsFWNRjhbytqj69a5eYBhfhaw= Bytes: 2406 On Tue, 27 Aug 2024 12:44:43 +0300, Michael S wrote: > Most typically, first read about abstract concept goes > straight above my head. This is why you need good examples. Generalization is all very well, until your audience fails to grasp why the generalization is actually useful. Consider the “descriptor” concept in Python <https://docs.python.org/3/reference/datamodel.html#implementing-descriptors>. Can you appreciate, from that bare-bones description in §3.3.2.2 and §3.3.2.3, how useful they are? I certainly didn’t. But on further study, I discovered that descriptors are key to how the whole class system works in Python. Every function is a descriptor. And then you discover that builtin functions like “classmethod” and “property” are just conveniences: you could write them yourself in regular Python code if you wanted to, since they don’t rely on any magic internal to the particular Python implementation. A similar thing applies to metaclasses.