Click here to Skip to main content
15,920,468 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: 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] Pin
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 
Don Kackman wrote:
Sweet! You owe me $20!


Laugh | :laugh: Um, we didn't shake on it. Poke tongue | ;-P

Don Kackman wrote:
All of the above mixed in with loops, branches and other objects being used.


I agree with that 100%, but I blame the programmer for it rather than the language construct is what I'm trying to get at.

Don Kackman wrote:
I think the with statement is really nothing more than a reaction to VB's excess verbosity, saving some keystrokes and sacrificing readability and maintainability.


Most of the time I used it, it wasn't the fault of VB's verbosity but rather I wanted to clean my code up a bit with longer object naming, etc. I reckon to each his own, but methinks the abuse of it is the real issue more than having it available to use when needed.

Jeremy Falcon
Oatmeal Engine[^]

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.