News for hackers. Stuff that matters.
Re:iOS at Facebook [pdf] by phn on Friday September 25, 2015 @09:08AM (#10277901)
Sloppy?! Those guys have needs the majority of us will never need to deal with. Did you read the presentation?

If anything they're the opposite of sloppy.

Re:iOS at Facebook [pdf] by Touche on Friday September 25, 2015 @09:51AM (#10278100)
The parent is not referring to those needs (which are legitimate). The presentation talks a lot about the hacking culture; how there is a lot of duplicate code, a lot of dead code, a lot of "temporary" code.

We call these things technical debt. But it sounds like they just never fix them. Refactors never happen.

Re:iOS at Facebook [pdf] by ch8230 on Friday September 25, 2015 @10:28AM (#10278336)
Eventually you just hear "New version of our app rewritten from the ground up" when it all becomes one big pile of technical debt.
Re:iOS at Facebook [pdf] by chupy on Friday September 25, 2015 @10:24AM (#10278311)
I sincerely doubt the fact that there are companies which thoroughly fix "technical debt".
Re:iOS at Facebook [pdf] by phn on Friday September 25, 2015 @10:28AM (#10278334)
They don't call it debt. It is simply their way of keeping their agility with a huge number of developers. If the flip side is junk that mostly impacts install space, I don't see it as a bad trade-off.

What alternative way would you suggest to keep your mega team productive and shipping features?

Re:iOS at Facebook [pdf] by Touche on Friday September 25, 2015 @01:33PM (#10279479)
You can't avoid fixing tech debt. Eventually it impedes your ability to be productive. It happens, to some degree, to every software project. Someone else joked about "we wrote the app from the ground up" but that really does happen. You're not "shipping features" if you're rewriting the app.
Re:iOS at Facebook [pdf] by xd1936 on Friday September 25, 2015 @10:37AM (#10278388)
Hiring a team whose sole job description is garbage cleanup?
Re:iOS at Facebook [pdf] by smrtinsert on Friday September 25, 2015 @10:56AM (#10278520)
Productivity != Total Output.
Re:iOS at Facebook [pdf] by s73v3r on Friday September 25, 2015 @02:51PM (#10279952)
1. Having a core team who's job it is to maintain the app and clean up the debt.

2. I seriously have to question that they absolutely need that pace. I don't buy it for a second that any of this is necessary or better than the alternative.

Re:iOS at Facebook [pdf] by jonknee on Friday September 25, 2015 @10:44AM (#10278439)
Their needs don't explain all the redundant and unused code. It's slop, plain and simple.
Re:iOS at Facebook [pdf] by phn on Friday September 25, 2015 @11:08AM (#10278579)
It's not. It's just decoupling. Redundant code exists because different groups of people needed the same thing in different contexts (with probably slightly different requirements), and co-ordinating to keep this stuff centralised is hard, and most of all time-consuming.

This has two clear advantages. You don't need to fill a form every time you change the smallest of functions and when you mess up, you don't impact everyone else. Honestly, I don't get the negativity.

EDIT: I don't mention dead code because that can be, if really needed, removed by a tool so I think the point is moot.

Re:iOS at Facebook [pdf] by jonknee on Friday September 25, 2015 @11:48AM (#10278795)
> I don't mention dead code because that can be, if really needed, removed by a tool so I think the point is moot.

It can easily be cleaned up in an automated fashion and they don't do it. That's exactly what everyone means by slop. If you could pick up the clothes on your floor but don't, it's not because you're a hacker.

Update: not only do they not clean it up, they ship this shit to a billion people. Talk about lazy.

Re:iOS at Facebook [pdf] by rimantas on Friday September 25, 2015 @09:56AM (#10278126)
If the were not sloppy they wouldn't have to deal with those needs too.
Re:iOS at Facebook [pdf] by L-four on Friday September 25, 2015 @10:08AM (#10278213)
Because they wouldn't exist.
Re:iOS at Facebook [pdf] by s73v3r on Friday September 25, 2015 @02:50PM (#10279939)
Their needs are because they're sloppy. Having an overarching Core team who's job is to maintain the app and guide the architecture would cut down on what they need immensely.