On 2025-12-21 04:25:26 +0000, rbowman wrote:
> On Sat, 20 Dec 2025 10:12:49 +0000, Richard Kettlewell wrote:
> > I would say that although Python does have some aspects of strong
> > typing, it is mostly weakly typed.
> 
> Type hints sort of address that.

Type hints add static typing (and only for linters, not for the
interpreter). I don't think they make the typing stronger.

> Like TypeScript there is a temptation to say  'foo: Any' to preserve
> duck typing.

True.

        hjp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | [email protected]         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment: signature.asc
Description: PGP signature

-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to