News for hackers. Stuff that matters.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by tigershark on Friday December 22, 2017 @12:44AM (#15985499)
Absolutely not. Python is not the technological superior choice for the majority of the applications. If you think so then your experience in different domains and application types must be very limited.

The preconcept that dynamic languages are more productive is just an illusion because you can easily take shortcuts that will hamper your progress in the future. A proper typed language with HM type inference has the ability to mostly avoid writing the types with the guarantee that the compiler will catch most of the pitfalls. And if you don't do any logic error pretty much every time your code just works. Saying that in a million line application Python is a better choice than F# or Haskell it's frankly ridiculous in my opinion.

Re:Open-sourcing MonkeyType – Let your Python code type-hint... by joshuamorton on Friday December 22, 2017 @12:56AM (#15985541)
Empirically, there are a lot more million line python codebases than F# or haskell codebases, in fact I can name multiple million line python codebases, and 0 F# or haskell codebases. Given that, logic would indicate some sort of failure on the part of haskell and F#, or they would see wider adoption among the large codebases where they are so useful.

Do you disagree?

Re:Open-sourcing MonkeyType – Let your Python code type-hint... by tigershark on Friday December 22, 2017 @07:25AM (#15986951)
Given how much smaller is the F# community and how much more you can crank in less lines of codes in F# I can believe it. Between C# and F# there is about an order of magnitude of difference in the LOCs for big projects and C# and Python are comparable from this metric.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by joshuamorton on Friday December 22, 2017 @03:30PM (#15990654)
It appears you missed my point. I can't think of a 100kloc f# or Haskell codebase, so even if they were 10x as terse as python, which they aren't, python comes out ahead. If they're so much better, why don't people use them?
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by kod on Saturday December 23, 2017 @12:18PM (#15995084)
I can think of 100kloc Scala codebases, e.g. Kafka.

People do use ML family languages, and they are better. There are plenty of non-technical reasons they aren't as widespread as dynamic languages or shitty static languages.

Re:Open-sourcing MonkeyType – Let your Python code type-hint... by joshuamorton on Saturday December 23, 2017 @01:32PM (#15995493)
Right, but Scala is different from Haskell or f#. It doesn't use the same kind of type inference (hm) as classical ml derivatives.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by greglindahl on Friday December 22, 2017 @02:14AM (#15985784)
Does this mean I have to return all the money I made?