"no variable or argument declarations are necessary."

Neil Hodgson nyamatongwe+thunder at gmail.com
Tue Oct 4 20:10:46 EDT 2005


    C++ and C# are converging with implicitly typed languages to the 
extent that many declarations will be able to omit types. In the next 
C++ standard and in C# 3.0 it may be possible to write, where Fn is a 
function returning any particular type:

auto spam = Fn();	// C++0x
var spam = Fn(); 	// C# 3.0

http://www.research.att.com/~bs/rules.pdf
http://msdn.microsoft.com/vcsharp/future/
    (most useful is the C# 3.0 language spec Word document)

    Neil



More information about the Python-list mailing list