Error handling is not very fun, but the syntax of the language overall is pretty good.
C
cheyenne_brown3Β months, 1Β week ago
Error handling is too good once you understand how to use it properly. You can use libraries like lo similar to lodash in js it's gonna make things so much simpler
michael.campbell3Β months, 2Β weeks ago
my first language is javasscript and python but i know C and im planning on trying rust or go
S
silvia_garcΓa4Β months ago
Go's error handling is only more verbose if you are not handling errors on other languages.
J
jayeden684Β months, 2Β weeks ago
I also love go
michelle_bryan5Β months ago
So it's a great language but the packaging and syntax sucks. But it also has a runtime GC.
monica.proctor5Β months, 3Β weeks ago
Kinda funny you called the std library slim and said there are packages lacking. Yes you probably wonβt find a βis-true-aiβ or βadd-two-numbersβ like in JavaScript, but the package ecosystem is enormous. And because so many cloud-native things are built in Go, like Docker and Kubernetes for example, you get the best first party support you could have, as itβs the reference implementation for every other language. About the standard libraryβ¦ hard disagree. Itβs not slim in the slightest. It has so much different packages, and there are quite a few libraries and applications that donβt use any external dependencies at all, because the std lib is just so vast. Entire web app, including first party JSON support, http router, templating engine (ie for server side rendered web pages (or alternatively declaring a embed.FS variable, which includes a given directory inside the binary of the built app and can therefore statically serve your entire react/etc web app)) and many other things? Well, no external dependencies needed - itβs all in the std.
michael.campbell5Β months, 3Β weeks ago
Bro was like: the con is I have to do the programming π
N
nermin.tΓ€sche6Β months, 1Β week ago
Interfaces. i.e type error interface { Error() string }
melanie.campbell6Β months, 1Β week ago
This Happens When Python guy looks at any other language.. Except C π As C Cpp and C# are two i think people must learn atleast basics Then Python so That will consider any language to atleast not complaining...π
R
raagini_dhar6Β months, 2Β weeks ago
npm i basic-maths π π
olivierdrift987Β months, 1Β week ago
Funny enough these were my exact thoughts when picking up Go. Definitely loved/hated err and missed a ton of packages.
S
shawnbird2427Β months, 2Β weeks ago
really liked how you explained the basics
A
allenanderson4047Β months, 2Β weeks ago
never thought coding could be this simple lol
B
brenda.padilla8Β months, 1Β week ago
.NET also has quite a package ecosystem
B
brenocosmos378Β months, 2Β weeks ago
Thank god there is uv these days
A
andrew_montgomery8Β months, 3Β weeks ago
Python support async programming, you don't need thread pool for everything
V
vanessa_carlson9Β months, 1Β week ago
βItβs okay, you can stick with python - if thatβs what youβre more comfy withβ
C
christopher_thompson9Β months, 1Β week ago
To the beginners, no Go isn't as simple as it seems, it will really take time to learn and build something meaningful with Go.
Error handling is not very fun, but the syntax of the language overall is pretty good.
Error handling is too good once you understand how to use it properly. You can use libraries like lo similar to lodash in js it's gonna make things so much simpler
my first language is javasscript and python but i know C and im planning on trying rust or go
Go's error handling is only more verbose if you are not handling errors on other languages.
I also love go
So it's a great language but the packaging and syntax sucks. But it also has a runtime GC.
Kinda funny you called the std library slim and said there are packages lacking. Yes you probably wonβt find a βis-true-aiβ or βadd-two-numbersβ like in JavaScript, but the package ecosystem is enormous. And because so many cloud-native things are built in Go, like Docker and Kubernetes for example, you get the best first party support you could have, as itβs the reference implementation for every other language. About the standard libraryβ¦ hard disagree. Itβs not slim in the slightest. It has so much different packages, and there are quite a few libraries and applications that donβt use any external dependencies at all, because the std lib is just so vast. Entire web app, including first party JSON support, http router, templating engine (ie for server side rendered web pages (or alternatively declaring a embed.FS variable, which includes a given directory inside the binary of the built app and can therefore statically serve your entire react/etc web app)) and many other things? Well, no external dependencies needed - itβs all in the std.
Bro was like: the con is I have to do the programming π
Interfaces. i.e type error interface { Error() string }
This Happens When Python guy looks at any other language.. Except C π As C Cpp and C# are two i think people must learn atleast basics Then Python so That will consider any language to atleast not complaining...π
npm i basic-maths π π
Funny enough these were my exact thoughts when picking up Go. Definitely loved/hated err and missed a ton of packages.
really liked how you explained the basics
never thought coding could be this simple lol
.NET also has quite a package ecosystem
Thank god there is uv these days
Python support async programming, you don't need thread pool for everything
βItβs okay, you can stick with python - if thatβs what youβre more comfy withβ
To the beginners, no Go isn't as simple as it seems, it will really take time to learn and build something meaningful with Go.
npm install is-odd