4 ms·
Three million methods? Having both programmed for Android and having used the Facebook App for Android, I find it very difficult to believe that app has anywhe
by georgemcbay 14y ago
Three million methods? Having both programmed for Android and having used the Facebook App for Android, I find it very difficult to believe that app has anywhere near 3 million methods, even if each one is basically a one-liner. If the number is correct, that really is some kind of crazytown code.
- Xuzz 14y agoI think the actual number is 65536 or similar — the 3 million may have been a misquote by TechCrunch.
- georgemcbay 14y agoStill seems like a ridiculous number, though of course far less ridiculous especially for Java code with its legacy of setters and getters for even basic properties and FactoryOfFactoriesFactory classes.
- cpeterso 14y agoTrivial getters and setters shouldn't be a problem because the Facebook blog said they tried using ProGuard, which can inline Java methods.
- gubatron 14y agoI bet that having so many methods makes it impossible for them to reuse their methods, probably they have a shitload of repetition in there. I just can't stop laughing about these arrogant people, and the balls to think that no other developers have had their challenges. Must be hell working in that place.