News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.