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 <[email protected]> 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. -- https://mail.python.org/mailman3//lists/python-list.python.org
