PDA

View Full Version : Anyone see this ad on Cprogramming.com?



SlyMaelstrom
12-14-2005, 08:40 PM
From one of the randomly generated ads on Cprogramming.com:

I guess they decided the best way to attract programmers is to show they really need one. (http://img182.imageshack.us/img182/6935/syntax0zo.jpg)

*On a side note: This isn't nessassarily an syntax error, as there are a number of reasons you could see this code, but seriously, you just know deep down the ad guy screwed this up.

NoUse
12-14-2005, 10:37 PM
bahaha. Good catch.

B0bDole
12-14-2005, 10:47 PM
actually, it could just be the bottom of a function/loop


just place someting like


{
asdjasd
asd
asdas
da
sd
asd
asd

*ad here*



then the ad closes the bracket

}

Dae
12-14-2005, 11:31 PM
Thats great.

B0bDole: like Sly said, "This isn't nessassarily an syntax error, as there are a number of reasons you could see this code, but seriously, you just know deep down the ad guy screwed this up."

B0bDole
12-15-2005, 12:38 AM
Dae, where did you come from? anyways i have about 9 beers that excuse me from any error i make tonight, thanks. ok more beer.

nickname_changed
12-15-2005, 12:39 AM
It makes sense to me. Obviously they tried to compile without the comments, but because they don't have any of the people they needed, they had to comment it out. What they should have done is put "TODO: " at the top.

Dae
12-15-2005, 01:15 AM
I come from the land of C++ programmers.

prog-bman
12-15-2005, 03:04 AM
And we wish you would leave :D

sand_man
12-15-2005, 03:31 AM
And we wish you would leave :D
lol bring on THE FLAMES!! :eek:

CrazyNorman
12-15-2005, 03:53 PM
All the DICE.com bugs have syntax problems.

For example, the common one (same bug in their ASP, Java, etc. version)


if (salary < good)
{
go_to_dice();
}
else
{
suck_it_up();
}

While not a perfect reproduction, they all follow that format. Of course the problem being, they tell you to suck it up if you have a good salary, as opposed to telling you to suck it up if you don't go to dice.

Dae
12-15-2005, 08:09 PM
And we wish you would leave :D

As if you've ever been, prog. :p