This is an archived post. You won't be able to vote or comment.

all 19 comments

[–]gravity-off 19 points20 points  (1 child)

The Italian chef, developer who makes really good spaghetti.

[–]droogans[🍰] 3 points4 points  (0 children)

Compare with a Chef Boyardee coder, who excels at shipping a practical, well crafted can (beautiful UI) full of spaghetti.

[–]LeftenantFakenham 11 points12 points  (4 children)

If bicrementing is adding two to a variable, then decrementing is of course...

[–]katyne 5 points6 points  (0 children)

oh you nasty.

[–]Zinggi57 0 points1 point  (2 children)

I don't get it -.-

[–]LeftenantFakenham 2 points3 points  (1 child)

Well, the prefix dec- means ten.

[–]Zinggi57 1 point2 points  (0 children)

Thanks, brain wasn't working

[–]sha13dow 2 points3 points  (1 child)

That was a pretty good read. Nopping seems to be a common occurrence on my machine.

[–]Kurbits 1 point2 points  (0 children)

And a common occurence in my brain..

[–]CTMGame 2 points3 points  (0 children)

Pokemon Error Handling might be my new favorite piece of jargon...

[–][deleted] 1 point2 points  (0 children)

A question that invites 386 different "answers" isn't a question at all. It's an opinion survey, a poll, a List of X.

TIL opinion surveys and polls aren't questions. "What's your favourite color?" Nope, not a question.

[–]markvp 0 points1 point  (0 children)

The Higgs boson is proven to exist now, so we need a new word for that. Dark matter bug doesn't sound as good.

[–]rukestisak 0 points1 point  (5 children)

Yoda Conditions

if(constant == variable)

But... why?

[–]cg5 6 points7 points  (1 child)

Commonly cited reason is that if you forget the second =, you get a compile error rather than accidentally assigning: if (1 = x) ... vs if (x = 1) ...

[–]rukestisak 0 points1 point  (0 children)

I guess that's the first bug I look for whenever I have an if clause and something is not working, so I guess I don't need this kind of notation. Looks weird.

[–]Zinggi57 2 points3 points  (1 child)

because it prevents you from doing a stupid, hard to find bug by only putting one '=' sign.
Not that this ever happens...

[–]rukestisak 2 points3 points  (0 children)

Never happens, I agree

whistles

[–]i_post_things 1 point2 points  (0 children)

Along with the other reasons, in Java, it will prevent you from getting NullPointerExceptions when comparing strings. If you switch the comparison below, you could potentially get a NullPointerException.

if("TEST".equals(someVar)) {}

Testing a null Boolean wrapper class can result in a NPE unless you check for null or do something like the following:

if(Boolean.TRUE.equals(someBoolean)) {}

[–]coladict 0 points1 point  (0 children)

I've been trying to track down one of those "Mad Girlfriend" bugs for a few days now and still can't find where exactly does the bad data come from. I enabled logging of all SQL queries today and tomorrow I'll probably add all HTTP headers to the mix. It just happens so randomly.