Re:Approximating sum types in Python with Pydantic
by steveklabnik on Wednesday August 14, 2024 @09:40AM
(#41245946)
I think "hype" has some connotations that I wouldn't necessarily agree with, and I don't think it's as much "on HN" as "people who write Python," but I would agree that I would expect at this point more Python folks to be familiar with Rust than Haskell, and so that to be the reason, yes.
[ Parent
| on HN ]
Re:Approximating sum types in Python with Pydantic
by jghn on Wednesday August 14, 2024 @10:02AM
(#41246194)
The reason I said hype is that it's a cycle here. If you go back 10 years every example *would* have been in Haskell. Or perhaps Scala. They were the cool languages of the era. And the topics here painted a picture that their use in the broader world was more common than they really were. And I say that as someone who used both Haskell & Scala in my day job at the time. HN would have you believe that I was the norm, but I very much was not.
That's not to say it's bad, or a problem. If it gets more people into these concepts that's great.