Go

/go166

The Go Programming Language

urfave/cli is getting closer to releasing v3 👀 excited to see what the changes are!!

https://github.com/urfave/cli/releases/tag/v3.0.0-alpha10
/Go
One issue with writing idiomatic Go for so long is that when you use another language (like javascript), you end up writing variables named `chainID` or `apiURL` and trigger everyone else

what a waste of brain energy
/Go
A proposal on adding "become" keyword to support tail calls in go

tldr: wontfix

https://github.com/golang/go/issues/22624
/Go
Go 1.23 with range-over-func is out. https://go.dev/doc/go1.23
/Go
Russ Cox is stepping down as Go tech lead after 12 wildly successful years. https://groups.google.com/g/golang-dev/c/0OqBkS2RzWw
/Go
Feeling the urge to learn go. Any recs on best resources? I like books
/Go
What’s your preferred method of signing binaries on MacOS?
/Go
make and append might be my least favorite part of go. They've always felt clunky to me. Especially append.

s := make([]string, 0)
s = append(s, "hello world")

I've been bitten several times in the past by using the len and cap params of make incorrectly. Now I use a linter rule.
/Go
https://www.gingerbill.org/article/2024/06/17/go-iterator-design/

- Is Go a language for dummies? I don't think so. I know Pike made _that_ comment, but I don't think that was the motivation for its creation.

- Generics + Iterators do make the language larger and more complex. I like Go for its lack of features.
/Go
Lol my old Tumblr profile photo was a picture of my go t-shirt 😅. This was back in 2012 when go 1.0 was released.
/Go
Even though I've written code in many languages, not using just one for long stretches of time, Go is by far my favorite one. I keep coming back to it.

It's not perfect but it strikes a great balance between simplicity, flexibility robustness and performance.
/Go
Why hadn't I heard of templ.guide before?
Looks very useful.

Also, why are all languages turning into PHP? 😂
/Go
I like Rust. It has some nice things.
However, building an HTTP server in Rust is not even close to this:

If you like simplicity, Go is still the Goat.
/Go
Are you using Go's race detector on a regular basis? CI?
/Go
The little gopher that could.

Go breaking into the top 10 languages on GitHub for two years in a row. 🥲
/Go
Do Golang enjoyers also enjoy calling Cgo Cgolang?
/Go
Some people don't know this, but the language is actually called: Go

https://go.dev/doc/faq#go_or_golang
/Go
1.22 is out! What are your favorite changes?

https://go.dev/blog/go1.22
/Go
TIL Go has Profile Guided Optimizations! Feed a pprof profile to the Go compiler to (possibly) make your program faster!

https://go.dev/doc/pgo
/Go