#learninggo — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #learninggo, aggregated by home.social.
-
Sorry, forgot to give credit to @dolanor for pointing me to that site!
-
That's a really good one. They just don't have a complete #Golang course (yet).
-
Hey #LearningGo peeps, I found a great new (free) course online for Go. I'm checking it out now:
https://exercism.org/tracks/go
I was going to do the #Coursera course, but their TOS had a binding arbitration clause. THE GALL! :BlobFoxAngry:
-
-
-
Well, I just ran headfirst into another wretched #BindingArbitration agreement.
I created a #Coursera account to take a #Go programming course, and of course their bloody TOS has a #BAA.
Jerks. :(
I guess I'm back to just reading a book, as the online courses are either too brief, don't have much in the way of exercises, are expensive, or are hiding behind stupid BAAs.
-
Just in case anyone's curious, my go shebang handler, "gorun" is here: https://codeberg.org/rldane/scripts/src/branch/main/gorun
-
Incorrect. Some things work beautifully, and are fully resplendent in their functional derpiness.
Take, for example, Go's date strings.
That is peak derpiness. Yet functional.
-
Hey Go peeps...
Is this cursed?!? XD
$ cat ~/bin/gorun #!/usr/bin/env bash set -u #treat undeclared variables as errors if [[ ${1:-} ]]; then tempfile=$(mktemp).go grep -v "^#!/.*gorun*" "$1" > "$tempfile" go run "$tempfile" rm "$tempfile" else echo "Please specify a file to \"go run.\" You may use this script as the shebang" fi$ cat tmp.go #!/usr/bin/env gorun package main import "fmt" func main() { fmt.Println("Hello world!!!") }$ chmod +x tmp.go $ ./tmp.go Hello world!!! -
Using backticks (` `) for multi-line strings in Go is... odd.
I rather prefer Python's solution:
""" """or''' '''Of course, in bash, nearly any string can be a multi-line string. :BlobCatHappie:
-
Hey #LearningGo friends,
What do people think of the Coursera course, "Programming with Google Go Specialization?" >link<
-
Nice, how are you liking the book so far?
I'm going to use the hashtag #LearningGo to toot about my adventures, so you're welcome to use it too.
-
-
Learning Go 2E update:
Several people volunteered to review the draft and their feedback has been tremendous. Thanks so much!
I've also started updates for chapter 5 (functions). There aren't any implementation changes since the first edition, so my edits will be light. There had been a request for more examples explaining how closures work, and I'm adding exercises to every chapter. In a week or so, I should have it done, and then on to revising the pointers chapter!
-
I'm in the middle of updating "Learning Go". There have been some exciting changes to Go since the 1st edition was released and there were things in the book I wanted to fix.
8 chapters have already been revised, with 8 more to go (there's a new chapter on tooling). I plan on posting weekly-ish updates on the current status.
I'm also looking for additional technical reviewers. DM me if you are interested!
Thanks to everyone who made the first edition such a success!
-
@jonbodner Here's that #LearningGo praise you asked for...