Is there a limit to how long a code can be? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there a limit to how long a code can be?

13th Mar 2019, 6:12 PM
Darijan Borić
Darijan Borić - avatar
6 Answers
+ 19
HahHhHH... Hey absolutely right 😁😁😁😁I also... 😆😁😁
14th Mar 2019, 1:43 AM
Kaju Kishmish❤
Kaju Kishmish❤ - avatar
+ 18
No harm in imaginations, maybe someone can correct! If you are connected to Internet then then the limit is the memory capacity of all servers of the world, which is in the order of Zettabyte ( 10 ^ 12 GB). http://highscalability.com/blog/2012/9/11/how-big-is-a-petabyte-exabyte-zettabyte-or-a-yottabyte.html But it would only mean storage, if we want to run the code then the the storage size will be useless if bandwidth is low. Even if we somhw managed super high speed data connectivity we would also need equally humongous supercomputers to process such large codebase. Talking Real, If we are talking largest codebases in terms of lines of code , then Google is on the top with 2 billion lines of code in it's single special repository. “The biggest codebases in history” by Quincy Larson https://link.medium.com/iZgNBcOX1U As the codebase gets bigger so does the complexity, maintenance and debugging problem. Many times lines of code is not a good metric. But we use other stuffs like code complexity.
13th Mar 2019, 7:07 PM
Morpheus
Morpheus - avatar
+ 9
No, there's no such limit and btw, code length doesn't matter.
13th Mar 2019, 6:24 PM
Шащи Ранжан
Шащи Ранжан - avatar
+ 7
I also think so...there is not li.it how long a code can be.🙋🙋🙋
13th Mar 2019, 6:29 PM
Asmit joy
Asmit joy - avatar
+ 6
Never heard of one myself in the 430 days I've been here but it seems to be the answered but that is many many lines of code... https://www.sololearn.com/discuss/1720821/?ref=app
13th Mar 2019, 6:41 PM
BroFar
BroFar - avatar
+ 5
Thank you Morpheus for a super brilliant answer
13th Mar 2019, 7:20 PM
BroFar
BroFar - avatar