>I remember reading an interview with one of the guys from the C# team a few years ago. When asked whether they'd add "with" to C#, he's reply was "over my dead body". :)
>
>Like others have said here, with intellisense in VS 2005, the "with" block makes less sense. Also, "with" makes the code harder to read (I like it better to just create a variable that stores a reference to whatever I'd have on the "with" block).
I wonder why the same perception is not applied to the Using directive, ie, why using this code
using System;
Console.WriteLine();
when if following the same logic used for dismissing the with clause
System.Console.WriteLine();
Is more readable. The funny thing is that I found the latter more readable than using "Using" but I found "with..endwith" more readable than a verbose set of commands, I guess I should stay away from C# <g>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges