← Home ← Back to /g/

Thread 105709169

33 posts 4 images /g/
Anonymous No.105709169 [Report] >>105709621 >>105712825 >>105712879 >>105713226 >>105714796
Go
I created more useful software in Go than in any other language, it's just so easy to get shit done
Anonymous No.105709426 [Report] >>105709615 >>105712517 >>105712539 >>105712700 >>105712839 >>105712879 >>105713136 >>105714811
python is easier though
Anonymous No.105709615 [Report] >>105710232
>>105709426
but you cant easily package everything up
Anonymous No.105709621 [Report]
>>105709169 (OP)
Good for you, I have honest try back in 2018 and 2022. This shit is unusable.

I am shipping Rust code at work THOUGH.
Anonymous No.105710232 [Report] >>105710962
>>105709615
Simply because you don't know pyinstaller
Anonymous No.105710962 [Report]
>>105710232
Apparently a ton of people don't. Broken python shit everywhere.
Anonymous No.105712517 [Report]
>>105709426
I prefer types makes shit so much easier and let's the lsp do more work
Anonymous No.105712539 [Report] >>105717444
>>105709426
Yeah but I just fucking hate python. When you use python you end up with like 500 different environments. It's a disgusting language.
Anonymous No.105712700 [Report]
>>105709426
>git clone whateverthefuck
>go run .
Wish Python could do this.
Anonymous No.105712825 [Report]
>>105709169 (OP)
Same. I hate it.
Anonymous No.105712839 [Report]
>>105709426
Its not worth dealing with the retarded package lack-of-management, runtime shittery, OOP retardation or 5000 different ways to do the same shit
Anonymous No.105712879 [Report]
>>105709169 (OP)
>>105709426
for me it's javascript
Anonymous No.105713136 [Report]
>>105709426
It's easier for small scripts, but it gets unwieldy with larger codebases.
Anonymous No.105713226 [Report] >>105713516
>>105709169 (OP)
you ever do any webdev backend stuff with it? considering using it to build an API (no frontend) coming from node express combo
Anonymous No.105713516 [Report] >>105713599
>>105713226
It's great for that. I generally wouldn't want to reach for anything else but there's always a tradeoff. Go tends to be verbose and explicit where a framework in some other language is typically much more concise for the common stuff.
Anonymous No.105713599 [Report]
>>105713516
I have no issue with node desu, just feel way too dependent on express. Trying to get into more low level networking stuff so more verbose/explicit sounds good to me.

Do you have any experience with Rust? how would you compare the two experiences
Anonymous No.105713662 [Report]
Go is a great language if you're working with LLMs. Writing out all the error handling, types, and simple utils used to be frustrating but now you can move so quickly while keeping everything explicit. Really nice IMO
Anonymous No.105713699 [Report] >>105714059 >>105714682 >>105714800 >>105719810
The more I learn about Go the more convinced I am that people use it because they've been buckbroken by very shitty languages and not because Go itself is particularly good.

Like five different people have told me how much of a breath of fresh air it is compared to Python. Wow, good job, you made something better than venv soup and single line lambdas.
Anonymous No.105714059 [Report] >>105714065
>>105713699
Yes, people just want to get shit don't and don't care about ur oop, python breaking every minute and all the useless debates about tabs vs spaces
Anonymous No.105714065 [Report]
>>105714059
Done*
Anonymous No.105714682 [Report] >>105714889
>>105713699
whats better than go then anon?
Anonymous No.105714796 [Report]
>>105709169 (OP)
>I created more useful software in Go than in any other language, it's just so easy to get shit done
Same
Anonymous No.105714800 [Report]
>>105713699
> been buckbroken by very shitty languages
So, i just recently adopted go from working with C++ and C for 30 years.
It’s not bad. In this case, though, I used it for a few reasons:
compatibility back to Windows XP (with go v1.20)
I also need modern crypto.
It’s easy to deploy since it’s one big-ass binary.
Runtime doesn’t bother me (in this situation), and it’s not performance critical.
It’s C-like so no problems there. Going back to C# from C was objectively worse.

Normally I was shitting on go, because the “one big binary” thing was because they couldn’t figure out (dynamic) linking.. so they spun it into an asset, but for me with generations of DLL hell, it *is* an asset.
Anonymous No.105714811 [Report]
>>105709426
Nah
Anonymous No.105714889 [Report] >>105716852
>>105714682
I love FP, so I doubt any gopher cares what I think.
My point was more about the fact that "employable" languages tend to be such complete ass for some reason or other that a mediocre language stands out amongst them.
Anonymous No.105716518 [Report]
>compare it to the shittiest language of all time
of course you like it, retard
Anonymous No.105716632 [Report] >>105716853
I fucking hate pythons environment shit
Anonymous No.105716852 [Report]
>>105714889
Because “elegance” is very far down the list of priorities for commercial software. If you’re a hobbyist it’s the opposite.

Go is the dumbest possible language that gets the basic things write (for making money): easy to learn, easy to package, big standard library. “Sufficient” type system and memory safety (garbage collection). If your barometer for a good language is getting paid to churn out widgets it’s great.
Anonymous No.105716853 [Report] >>105717229
>>105716632
There is poetry and Pipenv, if you want an "npm install xyz" experience: it is local to that folder, saves the versions to a file, etc.
It's a lot better than "requirements.txt", virtualenv by itself or --break-system-packages for sure.
If that's what you meant.
Anonymous No.105717229 [Report]
>>105716853
that's exactly what I hate
Anonymous No.105717444 [Report]
>>105712539
use 2.7. before trannies.
Anonymous No.105719743 [Report]
Anonymous No.105719810 [Report]
>>105713699
All languages suck. Go sucks too, but it just werks.