News for hackers. Stuff that matters.
Re:Why type hinting sucks (/r/Python) by akkad33 on Saturday February 11, 2023 @07:05AM (#34751625)
You should try F#. It infers all the types so you get the benefits of type checking without the noise
Re:Why type hinting sucks (/r/Python) by dunefox on Saturday February 11, 2023 @07:49AM (#34751892)
F# really is a great language. I wish it was used more.
Re:Why type hinting sucks (/r/Python) by The_Colonel on Saturday February 11, 2023 @08:22AM (#34752116)
My trouble with this approach is that my brain is not very good at type inference, so I don't really understand what's going on just by reading the code. IDEs can help, but it's still a hassle (esp. in contexts where you don't have IDE - github PRs etc.)