Y
Hacker News
new
|
ask
|
show
|
jobs
Twitter iOS app is greater than 2.5M lines of code
(
twitter.com
)
21 points
by
BryanBeshore
1320 days ago
6 comments
DerekL
1320 days ago
Title is misspelled. Should be
than
, not
then
.
link
dang
1320 days ago
Thanks - we've thanned it now.
link
TimCTRL
1320 days 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.
link
Rebelgecko
1320 days ago
At least some of the app is in Swift (based on the printouts of source that I've seen)
link
saagarjha
1320 days ago
It’s an about even mix of Swift and Objective-C.
link
diebeforei485
1320 days ago
> (based on the printouts of source that I've seen)
Haha.
link
lost_tourist
1320 days ago
Given all the libraries and services that ios provides, how? Did they rewrite all those rather than use what apple provides?
link
such12
1320 days ago
It seems like it shouldn’t be more than 25,000. Why is it 100x more than that?
link
giuliomagnifico
1320 days ago
Other is code to track the users behaviors.
link
regular
1320 days ago
Must be 500,000 nested IF statements.
link
firemelt
1319 days ago
it self explanatory from simple ruby on rails into scala behemoth lmao
link