On Thursday, May 30, 2013 23:36:09 js.mdnq wrote: > A class is just syntactic sugar for a collection of variables... > whats the use? It makes it easier for the programmer... same with > auto, same with :=... If you don't realize that then you should > think about it some more... (sure a class is more useful BUT that > is besides the point)
There are orders of magnitudes of difference between providing a new abstraction like a class and simply rewriting auto i = foo; as i := foo; _All_ it does is save you 4 characters and shift where in the statement the piece is that tells the compiler to infer the type. - Jonathan M Davis