Should my recent Go-related videos have sparked some interest in learning Go programming yourself, I've just recorded & uploaded the first part of a small series of Go tutorials:
Learn Go! - Setting Up Your Workspace
This is just a start, but as you know, I always appreciate your feedback. So let me know what you think!
@fribbledom this is great. Can I find your other “recent Go-related videos” in your PeerTube channel?
They are all there, yes! More to come...
@fribbledom production quality is good, and your voice sounds really professional.
Awesomeness! Iyve been wanting to learn how to Go. Cant wait to watch these.
@fribbledom is there a tk(inkter) hookup for Golang? I might move to it for GUI apps in the future.
(I think the Pixelfed stack is more appropriate for web services)
@fribbledom Interesting video and language. Your voice is different than I imagined.
@fribbledom I missed the part where you actually setup the $GOPATH to put an example, but for the rest of the video, it's good (as a Go noob, I understood everything well 🙂 )
@fribbledom cool! I should finish up the Go project I was working on to teach myself the language.
You should really give gofmt a chance. In my humble opinion it's one of the best features in Go.
No, I seriously mean it:
Even if you don't agree 100% with all their coding style choices, what they did do is establish definite coding conventions for this language.
This means it doesn't matter who wrote a piece of code, it will already look familiar to your eyes.
This is the number 1 reason why it's so incredibly easy to contribute in Go and maintain Go projects.
@fribbledom To be fair, gofmt did agree with most of my preferences. (save for 8-space indents, I use 4 because I code on half a 768p screen a lot.)
The only thing I miss is:
> if( x == 3) break;
To me, this communicates that the if is nothing hugely consequential, which is lost when the mandatory braces and all the linebreaks are put in.
To be fair though, this style is rather controversial. My C++ teacher did it this way:
> if ( x == 3 )
Thank god everyone understood that...
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!