from Hacker News

Go Developer Survey 2020 Results

by radimm on 3/10/21, 10:51 PM with 71 comments

  • by AlchemistCamp on 3/10/21, 11:31 PM

    The most surprising part to me was that go devs are feeling less and less welcome in "the community" and less and less welcome to contribute.

    I wonder why that is.

  • by withinboredom on 3/10/21, 11:53 PM

    I wonder if/how they measure survivorship bias. They mentioned it was about the same number of responses, were they all the same people?
  • by stunt on 3/11/21, 2:58 PM

    > The most common area by far was web development (68%)

    68% is a lot and I hope it lead to have more mature web libraries in the future. I'm comparing it to other languages Java(e.g. Spring), PHP(e.g. Laravel & Symfony), Ruby(e.g. Rails), NodeJS(e.g. NestJS & NextJS) and I think Go community has a long way to go.

    We had a discussion recently about building an internal web app and I had no chance to even defend Spring against Laravel yet alone Golang (My current team mainly uses Spring). It's just crazy how much scaffolding they have in place for web development. You get clean authentication with email verification and 2FA, and profile, team and roles management running in 5 minutes. And their collection library has most if not all of the Java Stream features. Then you spend another 5 minutes to add a scaffolding for building administration panels. And they are together just 3 months of development work if you ask me.

    So as much as I love the idea of building your own stuff, I can't defend it when it comes to raw components for web development like authentication and admins panels.

  • by BillFranklin on 3/10/21, 11:58 PM

    It's interesting that 17% are not satisfied with editor support for Go. The biggest editor feature requests were for code completion and navigating code.

    Rather than editors being at fault, could these indicate that Go is a bit too verbose? I wonder if generic functions will affect this. I rarely write Go, but I can imagine autocompletion macros for `err != ...` could help.

  • by PaulKeeble on 3/11/21, 1:23 AM

    Desktop Applications 8%. There is a reason for that, the GUI frameworks up until recently have been quite poor. I had been using Lorca as a Chrome wrapper that gave me a HTML interface but alas some users ran into weird bugs with it, its just not reliable and webview which utilises the native browser (edge/GTK/Safari) is even less reliable. I have been trying out Fyne recently and that seems stable and functional all be it with the same issues that Swing has with Java but also the same benefits.

    Go could do with a decent GUI framework, I think a lot of people would like something that isn't Visual Studio C#/C++ for this purpose but its not Go (or rust) at this point.

  • by closeparen on 3/11/21, 1:27 AM

    All I want for Christmas is a way to get decent test coverage on a method with several “if err != nil { return err }” branches that isn’t excruciating.
  • by nemothekid on 3/11/21, 1:41 AM

    I’m surprised nsq didn’t make the list for Golang pipelines. It was one of the first big go projects I can remember
  • by alexkarbiv on 3/16/21, 9:02 PM

    Go is good. Based on decades long research and experiments of Rob Pike and others.

    It's interesting to read comments by employees of american corporations that act like members of a national-socialist organization(of workers).

    There are people from Europe(not western) that became almost suicidal after working in those environments in US. Main principles of some organizations are pathological lying and suppression of free speech in any forms.

    That banner is like a test of obedience. Anyone who questions it - is problematic, "toxic". It doesn't matter what that banner contains.

    Obey. "They Live" movie.(1988, John Carpenter)

  • by stunt on 3/11/21, 2:31 PM

    > 66% said Go is critical for the success of their company

    That's way more than what I could guess!

  • by rhabarba on 3/10/21, 11:23 PM

    While you read that blog entry, please especially enjoy the different bar lengths for identical percentages. One would guess that the SVGs were generated with Go. /s