News for hackers. Stuff that matters.
Re:Static types in Python by ceor4 on Friday October 14, 2016 @11:19AM (#12708649)
It really doesn't matter what he calls it, as type inference has a well accepted definition that includes Go and C++. See: https://en.wikipedia.org/wiki/Type_inference

Perhaps the parent was trying to talk about "HM type inference" or something, but "type deduction" is also a fine name for a subset of type-inference, and perhaps more explicit for C++ and Go.

Re:Static types in Python by catnaroek on Friday October 14, 2016 @11:43AM (#12708833)
Type inference (not just Hindley-Milner) is divided in two logical phases:

(0) Generating a system of type equations, by recursively scanning the AST.

(1) Solving the system of equations. The nontrivial nature of this step is what makes type inference, well, inference.

In Go and C++'s case, the generated type equations come out already solved (that is, of the form `TypeVar = TypeExpr`), so there's nothing to infer!

Re:Static types in Python by ceor4 on Friday October 14, 2016 @02:31PM (#12710163)
Perhaps you'd be best up taking it up on wikipedia and primary sources, instead of arguing with random internet people when using their same definitions.