Skip to content
Better HN
Top
Best
Ask
Show
New
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
Save
Share
11 comments
11 comments · 6 top-level
top
newest
oldest
TimCTRL
3y ago
· 3 in thread
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.
DerekL
3y ago
· 1 in thread
Title is misspelled. Should be
than
, not
then
.
dang
3y ago
Thanks - we've thanned it now.
such12
3y ago
· 1 in thread
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?
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