Hacker News new | past | comments | ask | show | jobs | submit login

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.



I think the actual number is 65536 or similar — the 3 million may have been a misquote by TechCrunch.


Still 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.


Trivial getters and setters shouldn't be a problem because the Facebook blog said they tried using ProGuard, which can inline Java methods.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: