News for hackers. Stuff that matters.
Re:Why Today's Python Developers Are Embracing Type Hints by screye on Sunday September 28, 2025 @09:41PM (#45409668)
AI tab-complete & fast LSP implementations made typing easy. The tools changed, and people changed their minds.

JSON's interaction with types is still annoying. A deserialized JSON could be any type. I wish there was a standard python library that deserialized all JSON into dicts, with opinionated coercing of the other types. Yes, a custom normalizer is 10 lines of code. But, custom implementations run into the '15 competing standards' problem.

Actually, there should be a popular type-coercion library that deals with a bunch of these annoying scenarios. I'd evangelize it.

There are no comments on this comment yet.