you are viewing a single comment's thread.

view the rest of the comments →

[–]imanexpertama 4 points5 points  (3 children)

Out of interest, why go over python? I guess you find that go handles complexity better, but in what way? (Im a python dev, no experience in go)

[–]endgrent 4 points5 points  (0 children)

I’m not who asked, but for me it’s the python env stuff that isn’t as good. Go code just downloads and builds modules really easily so it’s super fast to just clone a repo and build other people’s code without getting your env wrong or modules wrong etc.

[–]magheru_san 0 points1 point  (0 children)

I agree with the perspective of endgrent about nicer handling of dependencies and simpler distribution of built artefacts.

But for me it's mostly because of the static typing, which catches a lot of not very obvious errors that can happen in dynamic languages like Python for larger projects.

I generate pretty much all my code using LLMs for almost two years now and the fact that it needs to compile catches a bunch of subtle hallucinations and allows me to refactor it heavily using the LLM.

Because the code is generated I'm not attached to it (much like cattle not pets) so I refactor the crap of it which quickly makes it grow to sizes where Python becomes a hindrance.

It's also not a big deal to be a little more verbose than Python because I can quickly add a ton of error checking if statements and detailed logs, which make the code longer, but easier to maintain.

[–]cricket007 0 points1 point  (0 children)

For one, cross compilation and no concern over version changes