How bad...
-
I would like to see it autoname my variables...I sure they can figure out what I want the variable for :laugh:
For a small fee a will write that for providing you are happy with var1, var2, var3 etc :laugh:
The only thing unpredictable about me is just how predictable I'm going to be.
-
it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
Yeah afer all thats exactly what my clients expects me to do from their "few fuzzy directives"
The only thing unpredictable about me is just how predictable I'm going to be.
-
ReSharper, and other aids do stuff like that. Wonderful. :rose:
-
... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
VS studio inserting closing tags still irritates me to this day; please don't encourage THEM to second guess what a coder intends to do.
-
I'll concur with that, too! -CB ;)
-
... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
-
... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
Can you write a plug-in for VS that will do that for you, or is VS not extensible that way? Just curious. Kalvin
-
it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
a few fuzzy directives
Isn't that why we have fuzzy logic systems? :P
"Silently laughing at silly people is much more satisfying in the long run than rolling around with them in a dusty street, trying to knock out all their teeth. If nothing else, it's better on the clothes." - Belgarath (David Eddings)
-
... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
I'm sick of semicolons too;
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
TextMate and most text-editors I've used do matching parentheses and tags and does it reasonably well. It doesn't do semi-colons though, I doubt it would know when you are finished a line of code accurately enough to be useful.
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
How bout the Enter key? :P
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
How bout the Enter key? :P
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
Good coders wrap lines of code :)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
-
Good coders wrap lines of code :)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
Good editors wrap it for us. :)
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
How bout the Enter key? :P
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
Of course, better coders don't write long lines of code that need to be wrapped :-D (Though if you are in the .NET world then I don't see how you can write three lines before having to wrap. All those namespaces and class structures.)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
-
Good editors wrap it for us. :)
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
Not even good editors know where to wrap and we are back to the original problem ;)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
-
Of course, better coders don't write long lines of code that need to be wrapped :-D (Though if you are in the .NET world then I don't see how you can write three lines before having to wrap. All those namespaces and class structures.)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
I actually rarely wrap lines. The only time I do is when I'm calling a method with a ton of parameters, or variable parameters like String.Format, or if I write a really funky long logic expression. That's about it tho; I always import namespaces rather than reference them directly unless there's a conflict.
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
I actually rarely wrap lines. The only time I do is when I'm calling a method with a ton of parameters, or variable parameters like String.Format, or if I write a really funky long logic expression. That's about it tho; I always import namespaces rather than reference them directly unless there's a conflict.
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
Yeah. The problem is an "insert semicolon on enter" feature will irritate you more for the times it does it wrong than make you feel good for the times it does it wrong. A lot of things in life are like that. Gravity really annoys me but I'd bet if it went into a sulk and switched off for being under-appreciated I'd quickly realise how good it is.
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
-
Not even good editors know where to wrap and we are back to the original problem ;)
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
I reckon writing a code-wrapping algorithm could not be terribly hard, so long as things were properly indented.
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
Yeah. The problem is an "insert semicolon on enter" feature will irritate you more for the times it does it wrong than make you feel good for the times it does it wrong. A lot of things in life are like that. Gravity really annoys me but I'd bet if it went into a sulk and switched off for being under-appreciated I'd quickly realise how good it is.
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
LOL Gravity doesn't bother me so much, so long as I have a comfy chair. :) I agree the semicolon on enter thing would not work out, I was thinking more along the lines of "press enter after each statement" or, when you think about it, a "newline after semicolon" would probably be about as good. Personally, I don't even care about hitting enter after a semicolon, the problem I have is that semicolons are required in the first place, but I don't want to start a flamewar about it. I just think there are better ways to end a statement. Like using a special character/keystroke in the odd circumstance to continue a line (like shift-Enter), rather than using a certain character always to end a statement. But then that's not what the OP was asking about, so no point starting up on that.
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
-
LOL Gravity doesn't bother me so much, so long as I have a comfy chair. :) I agree the semicolon on enter thing would not work out, I was thinking more along the lines of "press enter after each statement" or, when you think about it, a "newline after semicolon" would probably be about as good. Personally, I don't even care about hitting enter after a semicolon, the problem I have is that semicolons are required in the first place, but I don't want to start a flamewar about it. I just think there are better ways to end a statement. Like using a special character/keystroke in the odd circumstance to continue a line (like shift-Enter), rather than using a certain character always to end a statement. But then that's not what the OP was asking about, so no point starting up on that.
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-
I code in Ruby, I am happy without semicolons. Though I do plenty of JavaScript too which is annoyingly silent on forgotten semicolons. Most of the time it doesn't matter but the odd time it does is the hardest bug to track down.
regards, Paul Watson Ireland & South Africa
Fernando A. Gomez F. wrote:
At least he achieved immortality for a few years.
-
Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation :)
David Lockwood wrote:
Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation [Smile]
I had to switch to VB.NET after C# on my latest job. Please, somebody, kill me !!! , I have no strenght to do it myself :rolleyes: