News for hackers. Stuff that matters.
Re:Things You Should Never Do, Part I (2000) by dllthomas on Wednesday September 04, 2013 @11:46AM (#6328350)
Interestingly, this (narrow) case is supported by C++ (auto) now.

Even C, kind of:

#define AUTO_TYPE(X,Y) __typeof(Y) X = Y

... though I'm not sure I'd recommend it.

Type inference in full generality can give you a bunch more, as I just went into over here: https://news.ycombinator.com/item?id=6327327

There are no comments on this comment yet.