News for hackers. Stuff that matters.
Re:Go + Services = One Goliath Project by tptacek on Saturday December 21, 2019 @06:22PM (#21853930)
What's really the ergonomic difference between "traditional scripting languages" and Go? I came up writing professional C code, and spent most of the last 15 years writing "traditional scripting language" code, and Go feels a lot closer to scripting than to C to me, despite compiling down to machine code.

Go has static types, and that distinguishes it from Python, Ruby, and Perl. But the trend now seems to be for languages to move towards static typing anyways; 2005-era Python was wrong about that.

Re:Go + Services = One Goliath Project by zozbot234 on Saturday December 21, 2019 @06:25PM (#21853939)
> Go has static types, and that distinguishes it from Python, Ruby, and Perl.

It also has interface{} and that's a non-trivial commonality with Python, Ruby and Perl.

Re:Go + Services = One Goliath Project by rtpg on Saturday December 21, 2019 @07:42PM (#21854324)
It’s usually the DSL argument. In Go you can establish calling patterns for errors, but you’re really limited in terms of providing libraries with nice APIs that prevent you from making mistakes.

In Python you have a lot of ways to make sure someone does a thing. Exceptions are good for making sure an error is handled. Context managers make sure a resource is cleaned up properly.

I might be wrong but I feel like writing something like jquery (with its fluent API) would be really tough in Go.

Re:Go + Services = One Goliath Project by freyr on Saturday December 21, 2019 @07:01PM (#21854124)
> 2005-era Python was wrong about that.

Given Python's incredible rise since 2005, and even in the past few years, I'm not sure we can say they were "wrong." It's serves a purpose.

Re:Go + Services = One Goliath Project by doteka on Sunday December 22, 2019 @04:54AM (#21856215)
That rise has been entirely accounted for by machine learning and data science. Python as a language for actual software engineering has been slowly dying for a while now.