WhatsApp devs Troll Apple with a hidden ‘F#*( you’ in Source code


Recommended Posts

WhatsApp devs Troll Apple with a hidden ‘F#*( you’ in source code

 

Link to Picture - http://i68.tinypic.com/2v97t3l.jpg

 

WhatsApp has a gang of badass developers – but it seems not all of them are particularly crazy about Apple.
Messing around with the WhatsApp APK, Redditor xMarioZ came across an eloquent snippet of code that reads, “###### APPLE.”

The saucy piece of code appears on numerous occasions throughout the APK installation file for Android and was most likely left by WhatsApp’s dev team for their colleagues over at Apple.

While it’s unclear whether the message is merely playful banter or something more serious, Redditors speculate it might have something to do with Apple’s ridiculously strict App Store regulations.

All speculations aside, I absolutely don’t mind the coders’ inventive humour (or possibly rage) – it certainly got a laugh from me. Let’s just hope there’s no bad blood between the two companies.

It’s actually odd that WhatsApp’s quality assurance team didn’t flag the cheeky message; but whether they missed it or simply let it fly, I’m sort of glad it’s there – for fun’s sake.

 

 

Source, pics, links:
http://thenextweb.com/dd/2016/09/09/whatsapp-devs-troll-apple-source-code/#gref

Link to comment
Share on other sites

2 minutes ago, Torolol said:

wasting memory for extra bytes of strings (or is it strings of bytes?) that aren't really needed?

Yeah that is pretty much obvious :p

 

My question would be, what does "public final void" and log.d actually do?

  • Like 1
Link to comment
Share on other sites

7 minutes ago, Draconian Guppy said:

Yeah that is pretty much obvious :p

 

My question would be, what does "public final void" and log.d actually do?

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Link to comment
Share on other sites

2 minutes ago, adrynalyne said:

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Ah thanks! That's what I needed, someone to explain like I'm 5 :p So basically if apple can't see it, it's just out of spite?

  • Like 1
Link to comment
Share on other sites

Just now, Draconian Guppy said:

Ah thanks! That's what I needed, someone to explain like I'm 5 :p So basically if apple can't see it, it's just out of spite?

I would say so, yes.

 

Pretty tacky of them, I did stuff like this when I was in school, but not professionally.

  • Like 1
Link to comment
Share on other sites

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

Link to comment
Share on other sites

51 minutes ago, Nik Louch said:

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

  • Like 2
Link to comment
Share on other sites

3 minutes ago, DevTech said:

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

Uh, I would hope you would realize that code quality has nothing to do with revenue. What else is hidden in there that was missed? That's a potential security risk too. 

 

I am disappointed that you blindly defend this behavior. 

Link to comment
Share on other sites

2 hours ago, DevTech said:

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

Wow, that's a really blind comment.  Large organisations do everything they can to mitigate risk, and undocumented code is a risk.  Exactly why Microsoft ruled out "easter eggs" moving forward.

Link to comment
Share on other sites

8 hours ago, Nik Louch said:

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

Are you an iPhone user?

Link to comment
Share on other sites

8 hours ago, adrynalyne said:

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Except when they do a code review they would have, no?

Link to comment
Share on other sites

3 hours ago, Mur said:

Except when they do a code review they would have, no?

Why would apple review android code? This is specific to Android. log.d is for printing out messages for logcat. It's impossible to know just from this snippet if they are using a cross platform framework but even if they were, this would not show up in iOS. 

Link to comment
Share on other sites

14 hours ago, adrynalyne said:

Uh, I would hope you would realize that code quality has nothing to do with revenue. What else is hidden in there that was missed? That's a potential security risk too. 

 

I am disappointed that you blindly defend this behavior. 

 

12 hours ago, Nik Louch said:

Wow, that's a really blind comment.  Large organisations do everything they can to mitigate risk, and undocumented code is a risk.  Exactly why Microsoft ruled out "easter eggs" moving forward.

That's a bit over the top.

 

1. We can't be taking a news report trolling an Apple troller as a mondo serious technical discussion

 

2. Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

 

3. Perhaps someone could chip in on a grammar error while we're at it. I think"   "FAIL to load" should be "FAILED to load" - a very shocking misuse of English Present Tense which clearly shows that organization does not employ enough 5th Grade English Teachers on Staff to keep everyone in line.

 

  • Like 2
Link to comment
Share on other sites

2 hours ago, DevTech said:

 

That's a bit over the top.

 

1. We can't be taking a news report trolling an Apple troller as a mondo serious technical discussion

 

2. Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

 

3. Perhaps someone could chip in on a grammar error while we're at it. I think"   "FAIL to load" should be "FAILED to load" - a very shocking misuse of English Present Tense which clearly shows that organization does not employ enough 5th Grade English Teachers on Staff to keep everyone in line.

 

Using your logic, we then shouldn't take what you said serious either. 

 

I don't know what your vested interest is in this code, but this is not a language barrier issue. This is a, hey we don't really look closely at our code reviews so who knows what's in there, issue. Political correctness has nothing to do with it. 

 

Link to comment
Share on other sites

2 hours ago, DevTech said:

Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

It suggests that there's no code review practise, or that the company doesn't care about redundant code.  Sorry, are you a coder or responsible for code deployment?  I genuinely hope not.  It could say "Poopy" for all I care of political correctness, it would still fail a code review anywhere with decent practises.

Link to comment
Share on other sites

16 hours ago, adrynalyne said:

Why would apple review android code? This is specific to Android. log.d is for printing out messages for logcat. It's impossible to know just from this snippet if they are using a cross platform framework but even if they were, this would not show up in iOS. 

Didn't realize it was android specific. Make sense why it would generate confusion though now.

Link to comment
Share on other sites

20 hours ago, adrynalyne said:

Using your logic, we then shouldn't take what you said serious either. 

 

I don't know what your vested interest is in this code, but this is not a language barrier issue. This is a, hey we don't really look closely at our code reviews so who knows what's in there, issue. Political correctness has nothing to do with it. 

 

 

20 hours ago, Nik Louch said:

It suggests that there's no code review practise, or that the company doesn't care about redundant code.  Sorry, are you a coder or responsible for code deployment?  I genuinely hope not.  It could say "Poopy" for all I care of political correctness, it would still fail a code review anywhere with decent practises.

I am making the assumption that you are assuming there was no code review because if they had reviewed it the English Language word you personally found offensive would have been removed.

 

Or did I miss something obviously really bad in the code algorithm?

 

My point was simply that if the code sucked then, the review process sucked, but if the "decoration" sucked, then who cares because that is just neurons wasted on a useless consideration that could instead be focused on the code.

 

 

Link to comment
Share on other sites

25 minutes ago, DevTech said:

 

I am making the assumption that you are assuming there was no code review because if they had reviewed it the English Language word you personally found offensive would have been removed.

 

Or did I miss something obviously really bad in the code algorithm?

 

My point was simply that if the code sucked then, the review process sucked, but if the "decoration" sucked, then who cares because that is just neurons wasted on a useless consideration that could instead be focused on the code.

 

 

I'm done discussing this because a: it was found to be a hoax and b: you clearly aren't a professional developer otherwise you would understand what @Nik Louch and I are saying. And you calling *that* an algorithm....nah, not worth discussing further. 

Link to comment
Share on other sites

33 minutes ago, adrynalyne said:

I'm done discussing this because a: it was found to be a hoax and b: you clearly aren't a professional developer otherwise you would understand what @Nik Louch and I are saying. And you calling *that* an algorithm....nah, not worth discussing further. 

LOL - You both completely side-stepped my point. I hate these argumentative discussions

 

And Ad hominem is not up to your usual standards. https://en.wikipedia.org/wiki/Ad_hominem

 

I am a obsessively professional programmer that just avoids the sterile Dilbert landscapes of deified dullness and wouldn't think twice about commenting code in a way that always generates news when the old grannies of the internet find choice words in 20 year old code by Microsoft or whoever.

 

Software bugs have killed human beings. Worrying about style over function is a characteristic of an unprofessional programmer or pseudo-programmer. I don't think you are either of those based on what I have read but your comment, if it isn't "unprofessional," it's of questionable taste.

 

Link to comment
Share on other sites

This topic is now closed to further replies.