Re: [go-nuts] Generics are overrated.

2017-07-31 Thread Henrik Johansson
I don't miss Javas generics so much for the ability to create generic libraries but for using them. Things like map, group, filtering etc is so much simpler to write (maybe not always read). And it is fine to loop explicitly by hand coding but with grouping and perhaps several levels of filtering

Re: [go-nuts] Generics are overrated.

2017-07-31 Thread Olivier El Mekki
I can relate to Shawn's experience, here. I wrote a few programs in C, but mostly used interpreted and untyped languages professionally, before Go. When I started using Go, I fought for a while with the type system, just for the time to get used to it in general in daily usage. Once it was

Re: [go-nuts] Generics are overrated.

2017-07-28 Thread Henry
Generics is a non essential feature in that you can live without it. However, it is not without merits. Generics is a bridge to higher level expressions. If Go wants to add "modern" features in the future, it will stumble upon the need for generics in one way or another. While simple, code

Re: [go-nuts] Generics are overrated.

2017-07-28 Thread stuart
The build time issue is an artifact of C++ and templates. When generics were introduced to C# 2.0, they did do not negatively affect build times. On Friday, July 28, 2017 at 6:41:56 AM UTC-7, Robert Melton wrote: > > My primary concern about generics is they may significantly hurt build >

Re: [go-nuts] Generics are overrated.

2017-07-28 Thread Robert Melton
My primary concern about generics is they may significantly hurt build times, which coming from C++ I am rather sensitive about. Beyond that I am worried that they might end up NOT being an improvement over all the tools that have already popped up to handle this problem. There are a lot of

Re: [go-nuts] Generics are overrated.

2017-07-28 Thread Shawn Milochik
I programmed in about a dozen different languages before Go. None of them had generics. I use Go, love it, and never noticed anything missing when I write everything from command-line tools to complex servers. I've always been puzzled when people represented the lack of generics to be a flaw in

[go-nuts] Generics are overrated.

2017-07-28 Thread dogan . kurt
*Everything in this thread is my personal opinions, they are not necessarily the truth.* My main language was C for a decade. I also liked Python. When i started learning Go, it almost felt like i knew the language in another life. Everything was so obvious. CSP model of concurrency was new