Click here to Skip to main content
16,004,969 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: If you need the with keyword Pin
Jeremy Falcon7-Oct-08 10:04
professionalJeremy Falcon7-Oct-08 10:04 
GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.7-Oct-08 10:07
Ennis Ray Lynch, Jr.7-Oct-08 10:07 
GeneralRe: If you need the with keyword Pin
Jeremy Falcon7-Oct-08 10:18
professionalJeremy Falcon7-Oct-08 10:18 
GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.7-Oct-08 10:27
Ennis Ray Lynch, Jr.7-Oct-08 10:27 
GeneralRe: If you need the with keyword Pin
Vark1117-Oct-08 10:59
Vark1117-Oct-08 10:59 
GeneralRe: If you need the with keyword Pin
Jeremy Falcon8-Oct-08 6:14
professionalJeremy Falcon8-Oct-08 6:14 
GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.8-Oct-08 6:21
Ennis Ray Lynch, Jr.8-Oct-08 6:21 
GeneralRe: If you need the with keyword Pin
Jeremy Falcon8-Oct-08 6:33
professionalJeremy Falcon8-Oct-08 6:33 
Ennis Ray Lynch, Jr. wrote:
While I cannot say whether the approach below is the best possible approach it is clearly better alternative than your example and I spent less time coming up with them.


I spent about 5 seconds thinking of them and a bit longer to type them. Please don't assume. I don't check this site every 5 mins of my life.

So your grand scheme of never using a public method is to just reconstruct an object every time you need to change an attribute? Sorry man, but that means this conversation just went the path of being too silly for me to bother with if that's your idea of refactoring.

I mean surely you can foresee the need to change a window's width without recreating it every time right?

Jeremy Falcon
Oatmeal Engine[^]

GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.8-Oct-08 6:40
Ennis Ray Lynch, Jr.8-Oct-08 6:40 
GeneralRe: If you need the with keyword Pin
Jeremy Falcon8-Oct-08 6:48
professionalJeremy Falcon8-Oct-08 6:48 
GeneralI don't constantly check either, I just get email alerts and am easily distracted Pin
Ennis Ray Lynch, Jr.8-Oct-08 7:17
Ennis Ray Lynch, Jr.8-Oct-08 7:17 
GeneralRe: I don't constantly check either, I just get email alerts and am easily distracted Pin
Jeremy Falcon9-Oct-08 10:44
professionalJeremy Falcon9-Oct-08 10:44 
GeneralRe: If you need the with keyword Pin
Scott Barbour8-Oct-08 8:48
Scott Barbour8-Oct-08 8:48 
GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.8-Oct-08 9:00
Ennis Ray Lynch, Jr.8-Oct-08 9:00 
GeneralRe: If you need the with keyword [modified] Pin
Scott Barbour8-Oct-08 10:22
Scott Barbour8-Oct-08 10:22 
GeneralRe: If you need the with keyword Pin
Ennis Ray Lynch, Jr.8-Oct-08 10:46
Ennis Ray Lynch, Jr.8-Oct-08 10:46 
GeneralRe: If you need the with keyword Pin
dmitri_sps7-Oct-08 21:55
dmitri_sps7-Oct-08 21:55 
GeneralRe: If you need the with keyword [modified] Pin
sucram7-Oct-08 23:08
sucram7-Oct-08 23:08 
GeneralRe: If you need the with keyword Pin
Paul Watson8-Oct-08 1:53
sitebuilderPaul Watson8-Oct-08 1:53 
GeneralRe: If you need the with keyword [modified] Pin
sucram8-Oct-08 2:53
sucram8-Oct-08 2:53 
GeneralRe: If you need the with keyword Pin
Jeremy Falcon8-Oct-08 6:17
professionalJeremy Falcon8-Oct-08 6:17 
GeneralWhat's VB? Pin
Ravi Bhavnani6-Oct-08 9:50
professionalRavi Bhavnani6-Oct-08 9:50 
GeneralRe: What's VB? Pin
ed welch6-Oct-08 10:30
ed welch6-Oct-08 10:30 
GeneralRe: What's VB? Pin
Vasudevan Deepak Kumar6-Oct-08 11:38
Vasudevan Deepak Kumar6-Oct-08 11:38 
GeneralRe: What's VB? Pin
Ravi Bhavnani6-Oct-08 11:43
professionalRavi Bhavnani6-Oct-08 11:43 

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.