News for hackers. Stuff that matters.
Re:C++11 and Boost - Succinct like Python by daivd on Wednesday October 31, 2012 @04:05PM (#4724726)
Even in Hindley-Miller type systems it is considered good practice to add types as documentation to top-level constructs (see Haskell). In Python it is also considered good practice to add argument and return type info in the doc string. In a dynamic language you would also have to add a unit test or two for cases for some of the things that the compiler can catch for you.

Looking at the complete picture makes a language with local type inference (like C++11) more or less as verbose as one with complete type inference.

Re:C++11 and Boost - Succinct like Python by longlivedeath on Wednesday October 31, 2012 @09:12PM (#4725696)
> it is considered good practice to add types as documentation to top-level constructs

But with type inference your tools can do that for you (e.g. C-u C-c C-t in haskell-mode).

Re:C++11 and Boost - Succinct like Python by lmm on Thursday November 01, 2012 @12:36PM (#4728355)
A good IDE can fill in the types in C++ too.
Re:C++11 and Boost - Succinct like Python by longlivedeath on Thursday November 01, 2012 @09:30PM (#4730781)
Is there a C++ IDE that can figure out the function signature after you have written something like

_ f(_ a, _ b, _ c) { YOUR; CODE; HERE; }

?