|
touché ...
but when you are taking an elephant while debuging an endless loop?
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Forogar wrote: "UNDO" - the only command worth putting in all caps! But Shirley it should be spelled "OH F#%$!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Absolutely! That's how UNDO is pronounced (English has some very obscure pronunciation rules you know).
...and stop calling me Shirley!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Right-Click Solution -> Undo Pending Changes...
|
|
|
|
|
If you have TFS or similar
|
|
|
|
|
You only lose code once due to missing backups (either manual backups or source control). And if you do you only have yourself to blame
|
|
|
|
|
Hate the programmer do not hate the program
|
|
|
|
|
If you're coding without source control then you're a fool. It may not be integrated in the IDE like that, but you should be always able to revert changes at worst back to the last checkin point.
|
|
|
|
|
I don't need a source control since I'm a solo developer no need the check in check out so other developer don't mix with my code.
|
|
|
|
|
The history preservation is still a good enough reason to use source control. I work in a team in my job, but I have hobby coding at home that no-one else can touch, but it's still worth setting up an SVN repository for it. It means that if I screw up it's far easier to get back to a working state.
|
|
|
|
|
HobbyProggy wrote: when you are coding in Visual Studio and press
Ctrl + A, del and Ctrl + S
Only in Visual Studio I don't think so
|
|
|
|
|
not only but also
but i got fired down with recovery and stuff...
Then i'd say, the awkward moment when you type format c:
into cmd and press enter
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
HobbyProggy wrote: the awkward moment when you type format c:
There is no Ctrl + Z for that
|
|
|
|
|
I once tested a driver on the same machine as I was building it on.
It BSODed, and when I rebooted and opend the project half my source files contained nothing but full stops.
I didnt do that again.
|
|
|
|
|
Erudite_Eric wrote: I once tested a driver on the same machine as I was building it on. Ah, the joys of tweaking production code because after all, "it has to work".
/ravi
|
|
|
|
|
No, I was really developing a kernel driver, crashed my machinem and it trashed half my source code.
Dont test on a dev machine is the moral.
|
|
|
|
|
Erudite_Eric wrote: Dont test on a dev machine is the moral. Without a doubt. That's what I was alluding to.
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: That's what I was alluding to.
Really?
I have no idea how "tweaking produciton code, because it has to woek" is in any way relevant then.
|
|
|
|
|
The awkward moment you get your P45 for the willfull destruction of company property
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
It can only be improved by going berserk yelling NOOOOOOOOOOO! while you are wildly unplugging all the cables on your computer.
Don't forget to throw the monitor to your nearest colleague.
|
|
|
|
|
Try the following:
Write some long text in Notepad pressing Ctrl + S from time to time.
At one point you accidently press Ctrl + A instead and continue typing.
Next time you press Ctrl + S again.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
This is one reason that the old school Alt+F, S reflex wins ... if you fat-finger that you get Save As which is not a problem.
|
|
|
|
|
How about we send one of these[^] over to Cananda Eh for Sean to wear?
speramus in juniperus
|
|
|
|
|
|
Only if you get an MVP this year...and he delivers them wearing it.
It would at least be an improvement on the Mankini!
|
|
|
|