← Home ← Back to /g/

Thread 106413688

24 posts 6 images /g/
Anonymous No.106413688 >>106413709 >>106413721 >>106413728 >>106413822 >>106413850 >>106414366 >>106414751 >>106415248
it appears my superiority has led to some controversy
Anonymous No.106413709
>>106413688 (OP)
no
Anonymous No.106413717
I don't have a problem with you little retarded gopher. At least you're not a rustacean.
Anonymous No.106413721 >>106413822
>>106413688 (OP)
Success breeds jealousy, as they say.
Anonymous No.106413728 >>106413779 >>106413814 >>106413822 >>106413824
>>106413688 (OP)
Why does
if err != nil {
do error stuff
}

cause so many people to seethe?
Anonymous No.106413779 >>106413822
>>106413728
Codelets like their errors swept under the rug.
Anonymous No.106413790 >>106413798 >>106413844 >>106413891
Why would anyone use Go when you can just use Python?
Anonymous No.106413798 >>106414593
>>106413790
>Why would anyone ride planes when they could just ride a ship?
Because it's fast you moron
Anonymous No.106413814
>>106413728
it doesn't. intelligent people simply choose not to associate with your language. this leads both groups to be much happier.
Anonymous No.106413822 >>106414552
>>106413688 (OP)
>>106413721
>>106413728
>>106413779
Go is open source, but what happens if Google abandons it or goes crazy? Would someone fork it and how would that work?
Anonymous No.106413824
>>106413728
because it's verbose and annoying. It makes perfect sense and it's what people use in C, however.
Anonymous No.106413844
>>106413790
Because Big Techies gotta have Static Typing and Compilation with Design Patterns on an IDE else they can't get hard and they get Dynamic Typing cooties.
Anonymous No.106413850
>>106413688 (OP)
At least post the fucking picture you're referencing you fucking newfag
Anonymous No.106413891 >>106414454 >>106415404
>>106413790
>Go is le Python alternative
idk who forced that out to the public but okay
Go is literally as barebones as C but with GC and better multithreading
it's not an easy language, it's easy the same way as C is easy. not many keywords, not many concepts. but nobody would call C easy

inb4 let me post that Rob Pike quote I don't understand
Anonymous No.106414366 >>106414395
>>106413688 (OP)
Why should I use Go when Rust exists? Checkmate.
Anonymous No.106414395
>>106414366
bc rust has cut its thighs again
Anonymous No.106414454 >>106414523
Anything to divide the pythonistas. If these "people" stop using python for everything the world will be a little better.

>>106413891
The common thread is Google. Google pushed python hard, realized after 20 years that it's shit for "learning to program", now they're shilling Go.
Anonymous No.106414523
>>106414454
Nah they are at flutter or dart or whatever now, let's hope it doesn't end up like gwt with 2 people maintaining it in their off time, while I'm still being forced to use that shit at work
Anonymous No.106414552
>>106413822
>java is open source, but what if Oracle buys the IP owner and overtakes the project?
>redhat is open source, but what if IBM buys the IP owner and overtakes the project?
Anonymous No.106414593 >>106414700
>>106413798
It's fast compared to Python. It's slow as shit compared to basically any decent statically typed language.
Anonymous No.106414700
>>106414593
>It's slow as shit compared to basically any decent statically typed language.
as usual, /g/tards talk out of their asses.
It's "slow" in benchmarks only because the compiler targets amd64 v1, while most C/C++ benchmarks customize the target.
see, for example:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-go-3.html
MAKE:
/opt/src/go1.23.1/go/bin/go build -o fannkuchredux.go-3.go_run fannkuchredux.go-3.go


https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-gpp-6.html
MAKE:
/usr/bin/g++ -c -pipe -O3 -fomit-frame-pointer -march=ivybridge -std=c++17 -fopenmp fannkuchredux.gpp-6.c++ -o fannkuchredux.gpp-6.c++.o && \


check https://go.dev/wiki/MinimumRequirements#amd64 and see for yourself: GOAMD64=v1 is the default value.
Anonymous No.106414751
>>106413688 (OP)
Private
type Apple struct {
color string
weight int
}
public
type apple struct {
color string
weight int
}

genius
Anonymous No.106415248
>>106413688 (OP)
>it appears my superiority

What kind of superiority? Perhaps you mean superiority over piece of shit languages like Python? Well, congratulations gotard.
Anonymous No.106415404
>>106413891
It's a language for idiots per the language creators