Twitter iOS app is greater than 2.5M lines of codetwitter.com 21 pointsBryanBeshore3 years ago11 commentsSaveHideCopy link On HNComments−DerekL3yTitle is misspelled. Should be than, not then.−dang3yThanks - we've thanned it now.−TimCTRL3yThats like 2500 files each with 1000 lines of code. Seems pretty reasonable to me for the twitter app, Android or IOS. Languages like JAVA and Objective C are verbose, unlike say Kotlin and Swift.−Rebelgecko3yAt least some of the app is in Swift (based on the printouts of source that I've seen)−saagarjha3yIt’s an about even mix of Swift and Objective-C.−diebeforei4853y(based on the printouts of source that I've seen)Haha.−lost_tourist3yGiven all the libraries and services that ios provides, how? Did they rewrite all those rather than use what apple provides?−such123yIt seems like it shouldn’t be more than 25,000. Why is it 100x more than that?−giuliomagnifico3yOther is code to track the users behaviors.−regular3yMust be 500,000 nested IF statements.−firemelt3yit self explanatory from simple ruby on rails into scala behemoth lmao
Comments
Title is misspelled. Should be than, not then.
Thanks - we've thanned it now.
Thats like 2500 files each with 1000 lines of code. Seems pretty reasonable to me for the twitter app, Android or IOS. Languages like JAVA and Objective C are verbose, unlike say Kotlin and Swift.
At least some of the app is in Swift (based on the printouts of source that I've seen)
It’s an about even mix of Swift and Objective-C.
Haha.
Given all the libraries and services that ios provides, how? Did they rewrite all those rather than use what apple provides?
It seems like it shouldn’t be more than 25,000. Why is it 100x more than that?
Other is code to track the users behaviors.
Must be 500,000 nested IF statements.
it self explanatory from simple ruby on rails into scala behemoth lmao