Re:Write code. Not too much. Mostly functions.
by GordonS on Tuesday December 22, 2020 @05:21AM
(#25504802)
How do you feel about coding without generics now, and what do you think about Go's ambition to add them?
I'm coming from a C# mindset and thinking of learning Go, but I'm so used to generics...
Re:Write code. Not too much. Mostly functions.
by Abishek_Muthian on Tuesday December 22, 2020 @12:01PM
(#25508411)
That's what I meant when I said that I had to empty my cup and It's unnecessary for most if they're happy with their current language.
As for the inclusion of Generics I'm divided, I'm eager to use generics again in my current Go to language but on the other hand I'm worried if this is the direction Go language design team is going to take then where will it end?
After a spine surgery my programming time got severely limited and so I decided to code my future projects with utility focused languages. I had used Python in the past, but the performance tuning once the application scales is counterproductive and expensive to say the least.
I wanted a language which has predictable performance, decent standard library and most importantly not waste my time; time I can focus on my health. Go was the answer, even if it meant that I had to let go of some of my decade long programming patterns and practices.
Now my only wish w.r.t to Go's future is for it to stick with its utilitarian philosophy and not succumb to pressure of including features which might compromise it and leading to the several forks of Go.