|
But not when you wish to eat shoots and leaves...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Don't forget when your Uncle Jack needs assistance at the end of a horse ride.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
A comma won't save you from that.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
OK - does he use C, C++, or C#?
Good - wait till he leaves his computer, then edit one of his source files.
Delete one or two semicolons, and replace them with this: ;
It's a Greek question mark, U+037E that just looks identical to a semicolon.
Now watch the compilations errors.
If you remember which lines, you can also fix it for him - for a price...
You can copy and paste it from here, or look in Charmap - there is no ALT or ALTGR sequence as far as I can find.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Does a C++ editor accept Unicode? I assumed it was only ASCII.
|
|
|
|
|
VS does.
Think about it: it accepts any character in a string (for globalisation support) so it accepts any character, anywhere...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Yeah, I guess it has to.
Removing \ form multiline defines is also hard to spot, the compiler doesn't necessarily object even.
|
|
|
|
|
|
You evilest evil to ever evil... well thanks, now I would know how to defend
|
|
|
|
|
Removing a couple of brackets could also be quite annoying.
Or rewrite the entire code in VB while he's away from his keyboard...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Yes, but with removed brackets it's obvious from a quick glance.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Just remove the semicolons after the closing brackets of structs. Better if done in a header file.
Hell awakens in each and any compilation unit.
|
|
|
|
|
If they are coding in Javascript, they may not notice this for a few months...
|
|
|
|
|
and get shot? Seriously mean. Funny for some.
Easy to find and fix though.
To err is human to really mess up you need a computer
|
|
|
|
|
Your cats didn't do this to you, did they?
|
|
|
|
|
OriginalGriff wrote: If you remember which lines, you can also fix it for him - for a price... Just remember who started it when he keys your car or sends photos to your wife from last years office Christmas party.
Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington
|
|
|
|
|
Good thing you did not mention Java. Those poor guys probably already are sufficiently annoyed.
Life is too shor
|
|
|
|
|
ack! Reminds me of the time I accidentally typed a capital O instead of a zero in some code and the font I was using made it impossible to see. Took me several days. I had actually given up and was pasting the trouble code into an email for someone to help me and the email program changed the font to one that distinguishes O and 0 better.
|
|
|
|
|
That is exactly why I use a font with slashed zeroes.
Within you lies the power for good - Use it!
|
|
|
|
|
You see people, this is why you lock your workstation when you walk away. It's not because of corporate policy, it's because of the evil doers in the cubicle next to you.
At my previous job, a dude left his computer un-locked and walked away. One of his "friends" decided it would be funny to send an email from the computer expressing his undying love and lustful urges for a guy in the next block of cubes.
What was supposed to be a little joke, turned in to a heated argument and went down hill quickly.
|
|
|
|
|
While a good prank I see a flaw in your logic.
Dij codes like chuck norris
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
If his editor doesn't support Unicode, just stick a regular semicolon after an if or while statement before the braces. Those compile and are hard to spot.
if(count<10);
{
}
|
|
|
|
|
Doesn't work on mine - there is an option in most compilers to treat that as an error, and I always turn it on! In C++ it's C4390[^] - a level three warning. And I set "treat warnigns as errors" to trap it.
It caught me once, years and years ago: it doesn't catch me again!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Besides knowing your reputation, you are a good software engineer to turn on those compiler options.
|
|
|
|
|
How about this (put enough spaces in there to get it off-screen)?
if(count<10) count=10;
{
} :evillaugh:
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|