Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc,alt.folklore.computers,comp.lang.python Subject: Re: Python (was Re: Recent history of vi) Date: 20 Dec 2025 05:48:58 GMT Lines: 20 Message-ID: References: <10fc99s$309k$1@dont-email.me> <10fco97$6fc7$5@dont-email.me> <10fddvm$dsjl$3@dont-email.me> <10fig07$8oe$1@news.misty.com> <10fvcgr$3d6mu$1@paganini.bofh.team> <10g526s$3o78s$1@dont-email.me> <10ga7mg$7ph$3@news.misty.com> <10gekt9$39ian$4@dont-email.me> <10gfihn$3lshj$1@dont-email.me> <10gh6oj$83hq$8@dont-email.me> <10ghqrq$g7pg$1@dont-email.me> <693d5437$0$2499$426a34cc@news.free.fr> <10hl622$jeli$11@dont-email.me> <10i4e92$1f2vl$2@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net tnmoMw5COeysrhoCarrD3wTL1RscohOwhLIeSlx7Jnu3UDbDW4 Cancel-Lock: sha1:f5I0DYlttxsWlaMy1whCRFViMQw= sha256:oitfV5kt7gs9CgFO97BfO+bIyKiVJWhARCI6nW9h/Q4= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:79541 alt.folklore.computers:232720 comp.lang.python:197644 On Fri, 19 Dec 2025 20:58:10 -0000 (UTC), Lawrence D’Oliveiro wrote: > On Fri, 19 Dec 2025 13:30:03 -0000 (UTC), candycanearter07 wrote: > >> Lawrence D’Oliveiro wrote at 02:05 this Sunday (GMT): >>> >>> Think about why both JavaScript and PHP need a “===” operator, while >>> Python does not. >>> >>> It’s because Python is strongly typed. >> >> I thought it was because JS was too liberal with type-casting to make >> things true, and the JS devs didn't want to break compatibility. > > Is there some other interpretation of “strongly typed”? I haven't worked with them enough to know if type hints are useful or if they're like TypeScript's attempt to rein in JavaScript. It's like the dunders that are like saying 'Please mugger, don't take my IPad' rather than something that is enforced.