|
I do that more often than I'd like too!
But I also copy code frequently while refactoring.
I might take part of a method and copy/paste it to a new method.
or I might take some code that does something similar but not quite the same as what I want to do, and copy that.
I copy XAML a billion times a week
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
In my experience every moron out there that tells me I shouldn't use "XYZ" programming practice, whether it is copy/paste, multiple inheritence, or Windows, it is because they were too stupid and inept to use the practice properly.
If you can't handle the tools put them down, get out of the way, and let the grown-ups get on with the job.
Software Zen: delete this;
|
|
|
|
|
In this case it's actually the opposite - the guy is a great and fast technical coder - and expects everyone to be able to read his mind and see what he was thinking when he wrote stuff (because, of course, it's obvious to him)
He can whiz round VS and knows about every short cut key known to man, and can touch type - so he just types code real quick. So his thought process I think is why use copy paste and make some changes, when you can type it with the change in quickly.
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
I wouldn't care if he was the love child of Bjarne Stroustrup and Linus Torvalds, his commenting policy still makes him an idiot who I wouldn't have on my team.
Software Zen: delete this;
|
|
|
|
|
I'd vote you a plus 10 for that if I could.
If I had the power I'd certainly force him to change his ways, but I moved out of that sort of role & am now but a lowly programmer.
am, though, slowly moving the team toward actually producing maintainable code.
slowly!
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
My attitude is based on over 30 years of programming experience, sometimes where I've been involved in some really awful stuff.
I think your best recourse is to lead by example, which it sounds like you're doing.
Good luck.
Software Zen: delete this;
|
|
|
|
|
I'd rather have well commented and copy/pasted that way at least you'd know their intent.
|
|
|
|
|
_Maxxx_ wrote: Code should contain no comments Makes perfect sense to me.
I'd only add that a well written piece of code should also contain at least 3 strategically placed goto statements and a global variable named _a . This increases job security.
/ravi
|
|
|
|
|
It's 6:07 (morning) and I'm looking forward a day with my children in the snow (no school here if snow over 2 cm)!
The lone oak[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Nice shot, I don't miss that white stuff at all!
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: no school here if snow over 2 cm
Why such a low figure?
20cm maybe, 200cm fair play
|
|
|
|
|
I thought Scotland got most of its precipitation in liquid form.
Politicians are always realistically manoeuvering for the next election. They are obsolete as fundamental problem-solvers.
Buckminster Fuller
|
|
|
|
|
They used to, but they deep-fried it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Because when you have 10 cm every 3 years (and no 20 or 200 at all) it's shame not to give the children to play with...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
|
2 m to 4 m still no excuse for not going to School here
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: no school here if snow over 2 cm
Wimps!
Will Rogers never met me.
|
|
|
|
|
I am looking for making a database program by myself, but I don't want to end up in a dead end for some reason, so I need ton of examples and even better the entire source code of a sample database program. Any good book for this?
I don't care about the theory. I just want to know how to make a db program and then focus on using design patterns to improve the code.
Also, I am looking for a good book on Java Swing so I end up knowing all the ins and outs of Java Swing. I want tons of examples.
|
|
|
|
|
Member 10338805 wrote: I don't care about the theory. I just want to know how to make a db program and then focus on using design patterns to improve the code.
How will you improve it if you don't know what the code your looking at is meant to do?
.-.
|o,o|
,| _\=/_ .-""-.
||/_/_\_\ /[] _ _\
|_/|(_)|\\ _|_o_LII|_
\._. |\_/|"` |_| ==== |_|
|_|_| ||" || ||
|-|-| ||LI o ||
|_|_| ||'----'||
/_/ \_\ /__| |__\
|
|
|
|
|
You mean he can't just beg in QA.
I'm a beginner and I really need this plz. Itz Urzgenz!!!
|
|
|
|
|
Veni, vidi, vici.
|
|
|
|
|
...when 1 GB was a phenomenally huge amount of disk space (my first hard disk was 20MB!)
Now Windows gives me a red "running low on disk space bar" and I still have 3GB left!!!
Marc
|
|
|
|
|
I hit that with 10 GB left (on a 1 TB drive).
That was caused by the search index file growing to 647 GB in size due to a bug in the automated defrag and another bug in the way Windows handles and limits the sizes of some system files, like the search index (can't remember where I saw that, I think it was on MSDN, but I am not sure, and Google nor Bing are of much help right now, although Bing gives somewhat relevant results, whereas the big G gives some rather odd results). I ended up having to terminate the search service and delete the file. An update shortly after fixed the issues.
Getting information off the Internet is like taking a drink from a fire hydrant.
- Mitchell Kapor
|
|
|
|
|
Brisingr Aerowing wrote: That was caused by the search index
Bleah. One of the first things I do when installing Windows is turn off search indexing. I know where my files are.
Marc
|
|
|
|
|
I keep it on, although I don't use the search much. I mainly use the search to look for files I know I have but inadvertently saved in or moved to a different folder. Half of the time recent files stuff doesn't work as it should (I don't know why. I get random 'File Not Found' errors, even if the file exists.)
Getting information off the Internet is like taking a drink from a fire hydrant.
- Mitchell Kapor
|
|
|
|