←back to thread

257 points pmig | 1 comments | | HN request time: 0.22s | source
Show context
honkycat ◴[] No.43096164[source]
After dealing with constant build issues between Java and Typescript and Node and Python: I love go so much. The package management alone makes it worth it.
replies(1): >>43096583 #
scubbo ◴[] No.43096583[source]
After dealing with constant build issues with Go, I hate Go so much. The fact that they've conflated "source code" with "consumable library" means that you need a special case in your CI to publish new versions of a library in Go vs. every other language that builds and publishes an executable, and any tooling that pulls from a private repository has to hack `git config` rather than authenticating like you would any other artifact repository.

And that's before we even get onto the "v2" nonsense[0], because apparently it's unidiomatic to continue developing your packages after you publish them. Actually.....given that this language arose at Google, I may be onto something...

[0] https://go.dev/blog/v2-go-modules

replies(2): >>43096762 #>>43097758 #
diamondfist25 ◴[] No.43096762[source]
Btw js/ts, python, and golang, which one do you find more productive with?
replies(1): >>43097048 #
scubbo ◴[] No.43097048[source]
Hard to pick between Python and TypeScript - they have different strengths. TypeScript's type system is more useful (you'd hope, given the name!), but Python "just works" more often for simple use-cases IME (though I have well over double the lifetime experience with Python, so that might be a me-factor rather than a language factor).
replies(1): >>43104984 #
fullstackchris ◴[] No.43104984[source]
Baffling. If you're seriously saying package management for python "just works" and for go "always breaks"... I guess your either a troll, or you've never written production software. And I'm not talking some clever Jupiter notebooks used for some internal auditing or whatnot, I'm talking about customer facing software used by _at least_ 100 people. I'm 12 years in the game and Python has always caused me nothing but pain, while Go hasnt ever cost me a second of afterthought, working in multiple environments after nothing more than git clone. But, if you like making "virtual environments", a horrible shim gimmick which wasnt even supported by the language itself originally, be my guest!
replies(2): >>43106709 #>>43130267 #
1. honkycat ◴[] No.43106709[source]
Agreed! python easily has the worst package management out of all of them!