Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

one billion lines of Java code #413

Closed
foldl opened this issue Oct 13, 2022 · 12 comments
Closed

one billion lines of Java code #413

foldl opened this issue Oct 13, 2022 · 12 comments

Comments

@foldl
Copy link

foldl commented Oct 13, 2022

Description
In the readme:

many our Java developers have written more than one billion lines of Java code.

Is this possible? Does it have anything to do with this project?

@foldl foldl changed the title [Bug] one billion lines of Java code one billion lines of Java code Oct 13, 2022
@D-D-H
Copy link
Collaborator

D-D-H commented Oct 13, 2022

What the sentence in the readme wants to express is that there are a large number of java applications inside Alibaba, and the code of all the applications adds up to more than one billion lines. The amount of code itself has nothing to do with this project.

@foldl
Copy link
Author

foldl commented Oct 13, 2022

No.

The sentence means that, each of those outstanding Java developers has written more than one billion lines of Java code.

@D-D-H
Copy link
Collaborator

D-D-H commented Oct 13, 2022

No.

The sentence means that, each of those outstanding Java developers has written more than one billion lines of Java code.

Hmm, you are right. We should remove the 'many' from 'many our Java developers'.

@foldl
Copy link
Author

foldl commented Oct 13, 2022

Since the readme is proudly emphasizing the amount of Java code written in Alibaba, the definition of "write one line of code"
and how the amazing number is calculated should be provided.

  • How about generated code?
  • How about comments?
  • How about "delete a line of code"?
  • How about changing only one character of a line?

@foldl foldl mentioned this issue Oct 14, 2022
@luchsh
Copy link
Contributor

luchsh commented Nov 10, 2022

No.

The sentence means that, each of those outstanding Java developers has written more than one billion lines of Java code.

I do not see the word "outstanding Java developers" from README, did you?
They were just trying to say it was a big code base.

If you wanna be objective and try to reason about a strict standard for 'line of code', please feel free to write a paper to present your questions and ideas.

This project is about a downstream JDK provided freely to Aliyun clients, the codebase size is just a evidence of wide adoption, not to say 'proudly' that these folks are 'outstanding Java developers' (in fact, I think they are outstanding!).

@luchsh
Copy link
Contributor

luchsh commented Nov 10, 2022

No.
The sentence means that, each of those outstanding Java developers has written more than one billion lines of Java code.

Hmm, you are right. We should remove the 'many' from 'many our Java developers'.

No, he is not!

@zhengxiaolinX
Copy link
Contributor

zhengxiaolinX commented Nov 10, 2022

I guess we can do some more practical work than this. So close this first. @foldl

@foldl
Copy link
Author

foldl commented Nov 11, 2022

If you wanna be objective and try to reason about a strict standard for 'line of code', please feel free to write a paper to present your questions and ideas.

I have already asked for your definition of "write one line of code".

@foldl
Copy link
Author

foldl commented Nov 11, 2022

I guess we can do some more practical work than this.

Do you think the first paragraph in Readme is a piece of practical work?

@foldl
Copy link
Author

foldl commented Nov 11, 2022

https://devblogs.microsoft.com/bharry/the-largest-git-repo-on-the-planet/#:~:text=As%20a%20refresher%2C%20the%20Windows,a%20repo%20of%20about%20300GB.

As a refresher, the Windows code base is approximately 3.5M files and, when checked in to a Git repo, results in a repo of about 300GB.

Calculation of all these number are clear. Now, once again, how about "one billion lines of Java code"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants