Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Twitter iOS app is greater than 2.5M lines of code
(opens in new tab)
(twitter.com)
21 points
BryanBeshore
3y ago
11 comments
Share
Twitter iOS app is greater than 2.5M lines of code | Better HN
11 comments
default
newest
oldest
DerekL
3y ago
Title is misspelled. Should be
than
, not
then
.
dang
3y ago
Thanks - we've thanned it now.
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.
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?
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.
regular
3y ago
Must be 500,000 nested IF statements.
firemelt
3y ago
it self explanatory from simple ruby on rails into scala behemoth lmao
j
/
k
navigate · click thread line to collapse