b3ta.com qotw
This will only be shown once: B3TA uses cookies to enhance your site experience and provide critical functions. Leave the site if you do not consent to this or read our policy.
So we have done a second Fesshole book, and it is very good and if you do not buy it your bits will drop off Buy The New Fesstament NOW
You are not logged in. Login or Signup
Home » Question of the Week » Sacked II » Post 2295034 | Search
This is a question Sacked II

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)
Pages: Popular, 4, 3, 2, 1

« Go Back | See The Full Thread

I'm Albert and emvee too.
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)
Shambo's actually a bot I've been working on
The code is relatively simple:

public function getUpset() {
     call waaaaah();
     try(wit()) {

     }
     if(fail) {
          call(mods());
     }
}
(, Mon 2 Jun 2014, 19:44, closed)
I might have played the underachieving dweeb thing a bit strong here ... what do you think? I don't want it to descend into crude pastiche.

(, Mon 2 Jun 2014, 19:48, closed)
I think you've overdone it.
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)
shit ... I'll stick to the fancy dress and childish toys with this character ... soz

(, 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)
never happens

(, Tue 3 Jun 2014, 9:10, closed)
Your code is terrible.
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)
people who open their braces on the same line have very small cocks ... just saying like

(, Tue 3 Jun 2014, 12:18, closed)
I personally use Allman style everywhere,
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)
yeah yeah yeah *international pinkie finger small penis gesture*

(, Tue 3 Jun 2014, 13:00, closed)
You're getting away from the important, and terrifying, point here;
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)
he dresses and lives like a povvo student ... you may be somewhat flattering him with that 'well paid' bit

(, Tue 3 Jun 2014, 13:39, closed)
I think I've really upset the whiny crybaby this time
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

Pages: Popular, 4, 3, 2, 1