News for hackers. Stuff that matters.
Re:The Languages of English, Math, and Programming by superlopuh on Sunday October 20, 2024 @02:22PM (#41897391)
The typing version is still useful when you want to communicate that the result conforms to a certain interface, which doesn't include mutability in the case of Set, but not the exact type.

Edit: I see that he imported the typing Set, which is deprecated, instead of collections.abc.Set, which is still useful, so your comment is correct.

There are no comments on this comment yet.