If Java and C++ were the perfection of computer language evolution, then
there would be no need for Go. Using your predecessors as the gold standard
makes no sense, because if they were, then no other iteration would be
necessary. We wouldn't be having this discussion, because there would be no
Go.

Java and C++ both suffer from being complex enough that both inital
development and especially further maintenance of code written in those
languages is slower than it should be. This was one of the main drivers in
creating Go in the first place (as I understand it).

Trying to make all programming languages identical means that all but one
of them is redundant.

On Fri, Dec 25, 2020, 11:49 AM Henrik Johansson <dahankz...@gmail.com>
wrote:

> Ok maybe this thread has gone on too long.
> Both Java and C++ has benefited greatly from generics and most of their
> respective communities wouldn't want them gone. I am pretty sure that's
> what will happen with Go as well. Can we leave it now before we go from
> "corruption" to whatever hyperbole is next?
>
> On Fri, 25 Dec 2020, 14:10 redsto...@gmail.com, <redstorm....@gmail.com>
> wrote:
>
>> Yes, I agree with you. I use go for more than 3 years. The language is
>> simple and elegant. But generics will destroy this. Generics bring a lot of
>> complexity, make language seems ugly with only a few benifit.  They say you
>> can ignore it. Infact you can not. This language is on the way of
>> corruption.
>>
>> On Monday, December 21, 2020 at 3:38:54 AM UTC+8 Martin Hanson wrote:
>>
>>> I think people who want generics added to Go should go and program in
>>> Java or C++.
>>>
>>> Adding generics to Go will ruin the beautiful simplicity of the language
>>> and I haven't found a single example in which adding generics to Go pays
>>> off.
>>>
>>> Even with the examples of having two almost identical functions reverse
>>> some list, one of ints and one of strings, seriously!? We already have tons
>>> and tons of open source reusable code that covers all use cases which
>>> people complain about.
>>>
>>> Go was designed without generics purposefully from the start and Go is
>>> fine just the way it is.
>>>
>>> Adding generics means that we're opening the door to the beginning of
>>> bloating Go with all the crap that Java, C++ and all the other complex
>>> languages has gotten over the years, and Go was designed specifically
>>> without that clutter. So we add generics, then what? Classes?
>>>
>>> Adding generics to Go ruins that beautiful simplicity that went into the
>>> design and the added complexity just isn't worth it! The standard library
>>> have managed just fine without generics and so have we!
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/golang-nuts/7c3e4e9f-4553-413b-8bdb-57d316ad030cn%40googlegroups.com
>> <https://groups.google.com/d/msgid/golang-nuts/7c3e4e9f-4553-413b-8bdb-57d316ad030cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/golang-nuts/LEEuJPOg0oo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAKOF6940G995GFLoNp_z1Hsx2G_2e%2Bibs7xAqkTne0RAJUL5fw%40mail.gmail.com
> <https://groups.google.com/d/msgid/golang-nuts/CAKOF6940G995GFLoNp_z1Hsx2G_2e%2Bibs7xAqkTne0RAJUL5fw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2Bj6mhCP5F8qv1NJMKX0a8onY%3Dt12TuZ5J-wSq7%2BLOzqWOQmUw%40mail.gmail.com.

Reply via email to