
I once had a "friend" (I hated his guts) who lost two jobs on the same day - he drunkenly crashed the taxi he was driving when he was supposed to be at his office job. How have you been sacked?
( , Thu 29 May 2014, 13:33)
« Go Back | See The Full Thread

The rest of you are just a semi-interactive audience to my ongoing performance art piece 'underachieving dweebs get bullied. online'
( , Mon 2 Jun 2014, 19:18, 1 reply)

The code is relatively simple:
public function getUpset() {
call waaaaah();
try(wit()) {
}
if(fail) {
call(mods());
}
}
( , Mon 2 Jun 2014, 19:44, closed)

( , Mon 2 Jun 2014, 19:48, closed)

Not only making a programming joke but getting the code embarrassingly wrong may be taking it a little too far.
( , Tue 3 Jun 2014, 1:18, closed)

( , Tue 3 Jun 2014, 7:52, closed)

Could we get a few standard phrases in here like; 'It never happened'.
( , Tue 3 Jun 2014, 8:22, closed)

You coded a try block without any accompanying catch or finally block.
Not only that, your try block is parameterised, and contains nothing in its body.
And wtf is the keyword call?
Also... your function appears to return type function... that's just weird.
Did you even try to compile it?
C++
----
public:
void getUpset()
{
waaaaah();
try {
wit();
}
catch(std::exception& e) {
callMods();
}
}
C#
----
public void getUpset()
{
waaaaah();
try {
wit();
}
catch(Exception e) {
callMods();
}
}
( , Tue 3 Jun 2014, 11:49, closed)

( , Tue 3 Jun 2014, 12:18, closed)

but I switched to K&R style here, to match the original posted code...
(although, as it happens the original code appears to be some kind of K&R variant which puts the function open-brace on the same line as the function signature)
( , Tue 3 Jun 2014, 12:43, closed)

people who code like emvee can actually find well paid employment writing software, some of which might be required to do something important.
Basically, the entire industry works on a 90-10 principle: you can fire 90 percent of your coders, because all they're actually doing is slowing down the 10 percent who end up writing/fixing it all anyway.
( , Tue 3 Jun 2014, 13:09, closed)

( , Tue 3 Jun 2014, 13:39, closed)

There there, Shambo. Go see mummy, she'll kiss it all better.
( , Tue 3 Jun 2014, 14:59, closed)
« Go Back | See The Full Thread