Twitter iOS app is greater than 2.5M lines of code (twitter.com) 21 points by BryanBeshore 3y ago ↗ HN
[–] such12 3y ago ↗ It seems like it shouldn’t be more than 25,000. Why is it 100x more than that? [–] giuliomagnifico 3y ago ↗ Other is code to track the users behaviors.
[–] lost_tourist 3y ago ↗ Given all the libraries and services that ios provides, how? Did they rewrite all those rather than use what apple provides?
[–] TimCTRL 3y ago ↗ 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. [–] Rebelgecko 3y ago ↗ At least some of the app is in Swift (based on the printouts of source that I've seen) [–] saagarjha 3y ago ↗ It’s an about even mix of Swift and Objective-C. [–] diebeforei485 3y ago ↗ > (based on the printouts of source that I've seen)Haha.
[–] Rebelgecko 3y ago ↗ At least some of the app is in Swift (based on the printouts of source that I've seen) [–] saagarjha 3y ago ↗ It’s an about even mix of Swift and Objective-C. [–] diebeforei485 3y ago ↗ > (based on the printouts of source that I've seen)Haha.
[–] DerekL 3y ago ↗ Title is misspelled. Should be than, not then. [–] dang 3y ago ↗ Thanks - we've thanned it now.
11 comments
[ 3.0 ms ] story [ 50.7 ms ] threadHaha.