StabbyCutyou / generics

Package generics is the true way to program generically in golang
Apache License 2.0
193 stars 9 forks source link

Use conventional naming #25

Closed andrewslotin closed 7 years ago

andrewslotin commented 7 years ago

Hello,

I deeply appreciate your efforts to bring the feature that exists in all modern languages these days to Go, however I was concerned about the name you've chosen. I believe the use of more conventional names like T, U or even V would be helpful for newcomers with background in such languages as Java or C++, as in this case the code looks more similar to what they are probably used to.

Again, appreciate your time and efforts.

StabbyCutyou commented 7 years ago

Hello,

I appreciate the serious level of thought you've put into this proposal.

One major issue with renaming it at this time is simply that the theoretical millions of golang gophers around the world using package generics would experience a breaking change by updating.

Package generics adheres to the strict golang backwards compatibility promise: Until 2.0, which may never happen, there shall never be a breaking change in the package.

For your education, G was chosen for a few reasons. I hope you find them enlightening, and thought-provoking:

  1. Simply put, G is the first letter of the word "generics"!
  2. G is also the first letter of golang!
  3. Much like golang, package generics eschews the constraints of traditional thinking, so that it can breach bold new frontiers, and open up programming opportunities in ways the world has never seen before!

For these reasons, G was chosen.

Thank you again for your support and effort in this proposal, however for the stated reasons, I cannot accept it at this time.