Re: C# 3.0 partial methods and automatic properties
Jon Skeet <[email protected]> Sat, 11 Nov 2006 07:22:56 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Sebastien Lorion wrote: > I think creating a code snippet would be more simple for this kind of > task... Creating a code snippet or a macro or whatever has a problem in terms of readability though. Let's take another example of syntactic sugar: "using". I'm sure that Eclipse can add a try/finally block round my Java code easily, but I'm *much* happier reading C# code with the "using" statement. Similarly, it's easier to read: public property string x; // Or whatever the syntax is than the "longhand" version, even if that longhand version *has* been generated for you. Typing speed is rarely an issue for me, but quickly reading and understanding code often is. Jon =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com