On Mon, 16 Aug 2010 19:29:27 -0400, Adam Ruppe <destructiona...@gmail.com> wrote:

Besides, worst case, you have to scroll up a few lines to see the
original type, but it is there if you need it. It isn't like a dynamic
language where the type can be anything passed in and can change at
random at any time. It is set in one place and stays consistent.

Or, you use an ide which tells you the type :)



For modification, it makes things easier since you don't need to
repeat yourself. You can make a change in one place, and that change
automatically propagates. Again, unlike dynamic languages, the type is
still consistent: if the change breaks things down the line, the
compiler will tell you, whether you use auto or not.

This is the most awesome thing about auto. It is one of the best features of D IMO.

Reply via email to