Click here to Skip to main content
15,899,126 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
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 
GeneralRe: Yes. Pin
Shog96-Oct-08 7:58
sitebuilderShog96-Oct-08 7:58 
rickyvj wrote:
I don't think the time you save by typing less is worth the readability you give up

Actually, it would save little if any typing. The win (for me anyway) comes in eliminating the "wall of text" - line after line of nearly identical property names. I'm looking for something closer to CSS-style syntax: <span style="font-weight: bold;">selector</span> { <span style="font-style: italic;">properties</span> }.
rickyvj wrote:
IntelliSense is so great

IntelliSense reduces the amount of time it takes to create a dense block of chained properties, but does nothing to aid in reading the results later on. The example is taken from a bit of code i use for creating ZedGraph charts; originally, it was much, much longer, but i've eliminated most of it in favor of rule-based or metadata-based configuration after it became clear that maintaining such dense code was extremely error-prone.
rickyvj wrote:
I think we need to learn and leverage the tools we already have before asking for new ones

That's... a bit silly. Like suggesting i should learn to use a paring knife more effectively before asking for a potato pealer, or memorize logarithm tables before asking for a pocket calculator. If a tool is useful, it should be built - anyone is free to not use it.
rickyvj wrote:
I'm surprised to see how most developers don't take the full advantage of VS or C# advanced features.

I have several socket wrenches i've never used; they came in a set with several others that i use frequently. But if i ever do need them, they're ready and waiting...


----
You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

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"With" is one of the few VB-specific constructs I can stand Pin
Adam Maras6-Oct-08 5:06
Adam Maras6-Oct-08 5:06 

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.