Click here to Skip to main content
15,899,754 members

Survey Results

Should C# get the VB-style "with" keyword?   [Edit]

Survey period: 6 Oct 2008 to 13 Oct 2008

If not then maybe we could look into the "Ain't" keyword...

OptionVotes% 
Yes27937.20
No47162.80



 
GeneralRe: How about the 'Optional' Keyword? Pin
Phil Wheeler6-Oct-08 16:26
Phil Wheeler6-Oct-08 16:26 
GeneralRe: How about the 'Optional' Keyword? Pin
Keia6-Oct-08 21:42
professionalKeia6-Oct-08 21:42 
GeneralRe: How about the 'Optional' Keyword? Pin
Chris Maunder7-Oct-08 11:36
cofounderChris Maunder7-Oct-08 11:36 
GeneralRe: How about the 'Optional' Keyword? Pin
Keia7-Oct-08 11:45
professionalKeia7-Oct-08 11:45 
GeneralRe: How about the 'Optional' Keyword? Pin
Duncan Edwards Jones7-Oct-08 1:10
professionalDuncan Edwards Jones7-Oct-08 1:10 
GeneralRe: How about the 'Optional' Keyword? Pin
Rob Grainger7-Oct-08 1:59
Rob Grainger7-Oct-08 1:59 
GeneralYes. PinPopular
Shog96-Oct-08 7:15
sitebuilderShog96-Oct-08 7:15 
GeneralRe: Yes. Pin
rickyvj6-Oct-08 7:46
rickyvj6-Oct-08 7:46 
I find your solution VERY hard to read! Specially the idea of allowing nested with's...I think that's a recipe for disaster and ugly code.

I don't think the time you save by typing less is worth the readability you give up, specially now a days that IntelliSense is so great. I rather Copy/Paste the object name, or create object references and deal with those directly, for example:
YAxis y = new YAxis();
y.IsVisible = true;
y.Type = AxisType.Linear;
y.Scale.FontSpec.Size = 9; 
y.Scale.FontSpec.IsAntiAlias = true;
pane.YAxis = y;


I think we need to learn and leverage the tools we already have before asking for new ones, I'm surprised to see how most developers don't take the full advantage of VS or C# advanced features.
GeneralRe: Yes. Pin
Shog96-Oct-08 7:58
sitebuilderShog96-Oct-08 7:58 
GeneralRe: Yes. Pin
Richard Green6-Oct-08 23:00
Richard Green6-Oct-08 23:00 
GeneralRe: Yes. Pin
rickyvj7-Oct-08 3:59
rickyvj7-Oct-08 3:59 
GeneralRe: Yes. Pin
Jeremy Falcon7-Oct-08 8:55
professionalJeremy Falcon7-Oct-08 8:55 
GeneralRe: Yes. Pin
Vasudevan Deepak Kumar6-Oct-08 8:39
Vasudevan Deepak Kumar6-Oct-08 8:39 
GeneralRe: Yes. Pin
Mel Padden6-Oct-08 22:12
Mel Padden6-Oct-08 22:12 
GeneralI definitely want an isnt or aint operator Pin
PIEBALDconsult6-Oct-08 5:41
mvePIEBALDconsult6-Oct-08 5:41 
GeneralRe: I definitely want an isnt or aint operator Pin
Adam Maras6-Oct-08 6:40
Adam Maras6-Oct-08 6:40 
GeneralRe: I definitely want an isnt or aint operator Pin
Theodore M. Seeber6-Oct-08 8:12
Theodore M. Seeber6-Oct-08 8:12 
GeneralI find statements with with harder to read [modified] PinPopular
Don Kackman6-Oct-08 5:10
Don Kackman6-Oct-08 5:10 
GeneralRe: I find statements with with harder to read Pin
PIEBALDconsult6-Oct-08 5:47
mvePIEBALDconsult6-Oct-08 5:47 
GeneralRe: I find statements with with harder to read Pin
John M. Drescher6-Oct-08 9:21
John M. Drescher6-Oct-08 9:21 
GeneralRe: I find statements with with harder to read Pin
Jeremy Falcon7-Oct-08 8:56
professionalJeremy Falcon7-Oct-08 8:56 
GeneralRe: I find statements with with harder to read Pin
Don Kackman7-Oct-08 10:11
Don Kackman7-Oct-08 10:11 
GeneralRe: I find statements with with harder to read Pin
Jeremy Falcon7-Oct-08 10:24
professionalJeremy Falcon7-Oct-08 10:24 
GeneralRe: I find statements with with harder to read Pin
Don Kackman7-Oct-08 10:35
Don Kackman7-Oct-08 10:35 
GeneralRe: I find statements with with harder to read Pin
Jeremy Falcon8-Oct-08 6:21
professionalJeremy Falcon8-Oct-08 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.