|
|
I kid you not. There were snow flurries a couple hours ago here in Philmont, NY.
Marc
|
|
|
|
|
Yesterday morning, in Chicago, when I walked the dog, there was a little snow on the grass. This morning there was a good amount of frost.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
|
|
|
|
|
Aaah snow. Have seen it for years and years. Maybe this winter should go see some! Nah. too damn cold.
|
|
|
|
|
RossMW wrote: Maybe this winter should go see some! Nah. too damn cold.
Yeah, just google images of snow. Brrrrr
Marc
|
|
|
|
|
|
6 inches overnight in some parts up here.
|
|
|
|
|
Same thing up north in Montréal.
I'm usually a winter kind of guy, but enough is enough!!!
I'd rather be phishing!
|
|
|
|
|
Now you know why it is called the great white north. Eah
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
Has to be because of global warming.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
Maybe it's not snow but ashes.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
We had snow on Tuesday and Wednesday in Madison, WI. Driving in seeing ice on people's cars was a bit strange. Since it is going to be in the 70's tomorrow and early next week.
All I have to say is that I'm moving back south.
|
|
|
|
|
Now, I am not interested in a VB versus C# debate but.
In my job I only spend about 20% of my time coding. Being from a C# background anything new I would normally do in C# (and yes very occasionally VB), but I also have to maintain old VB code (and heaven forbid, very occasionally VB6).
Normally I spent a month or two in each language (depending on the task at hand) and are happy in any camp. Changing back and forth between languages is relatively straight forward, but lately I noticed it takes me longer to get back into swing of C#.
And the reason..
Well, I think its because I've got myself into bad c# typing habits from using vb. I seem to be wasting so time chasing missing / misplaced { }, forgetting semicolons case sensitivity and ()'s.
Now semicolons, case and () problems are just a "Oh Bugger" moment, but as for missing / misplaced { } 's. They can be time waster.
For all you pro c# developers, Do you have any tips on keeping these damn { } under control?
|
|
|
|
|
I find that after spending a day doing Ruby programming, my soul cries out to at least write a few lines of C# code in the evening. Ah...
But to your question, my fingers are so programmed to type {} whenever I write a method, I can't really help you there. In fact, in Ruby where occasionally one does use {} I get really pissed off at the IDE for auto-completing the closing }. Or ] or ). Hmmm...I bet there's a way to kill that in RubyMine.
Marc
|
|
|
|
|
I main problem I seem to is after a lot of if, Switch or whatever and you end up with a lot of
}
}
}
}
and then trying to figure which } belong with which {
|
|
|
|
|
RossMW wrote: and then trying to figure which } belong with which {
Dang, doesn't the IDE (dimly, I'll grant) light up the matching braces?
[on my high horse] If you have that much nesting, maybe you should break the function apart into smaller calls? [/on my high horse]
Marc
|
|
|
|
|
Yes, very dimly. Makes it hide to find when you have to scroll to see it.
Just have to remember the Left brace, right brace, back arrow, code... dance move...
|
|
|
|
|
You can change the color of the highlighting
clicky[^]
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Thanks. Changed it to magenta, so now its easy to spot!
|
|
|
|
|
What was the setting name you changed to do that?
Where there's smoke, there's a Blue Screen of death.
|
|
|
|
|
Tools > Options > Environment > Fonts and Colors > Brace Matching (Rectangle)
Just overlooked it myself first on first try
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Thanks for such a quick reply! > from Charlotte, NC, USA
Where there's smoke, there's a Blue Screen of death.
|
|
|
|
|
You can also use this to find the matching "{}"
On the keypad use the Ctrl key on the right side of the keyboard.
Press right Ctrl ] key combination. This will take you to the matching "{}".
|
|
|
|
|
Actually that's a closing brace for your namespace, class, method and if statement. Not much nesting at all, it just looks that way in C#
This is where I'd usually sing some VB praise, but having been away from VB for far too long I'm just not in the mood
|
|
|
|
|
Sander Rossel wrote: Actually that's a closing brace for your namespace, class, method and if statement.
Heh, good point. I usually never pay much attention to those.
Marc
|
|
|
|