So...you THINK you know Go?

Ғылым және технология

So you think you know Go? Well … that might be true but there are some things that you might not know about. In today's video, I want to share some of the "not-so-obvious" stuff with you so you know what kind of trouble you might run into as you learn Go. Enjoy!
--
Golang Dojo is all about becoming Golang Ninjas together. You can expect all kinds of Golang tutorials, news, tips & tricks, and my daily struggles as a Golang developer. Make sure to subscribe if you look forward to such content!
Get Your Golang Cheat Sheet! - golangdojo.com/cheatsheet
Git repos & notes - golangdojo.com/resources
Golang Basics - • Golang Basics - Instal...
Golang Informative - • How much do Golang dev...
--
Timestamps
0:00 Intro
0:31 Mystery 1
2:06 Mystery 2
3:13 Mystery 3
4:38 Mystery 4
5:52 Outro
--
#golang #goprogramming #golangdojo

Пікірлер: 29

  • @GolangDojo
    @GolangDojo Жыл бұрын

    📝Get your *FREE Golang Cheat Sheet* - golangdojo.com/cheatsheet

  • @blade2663
    @blade2663 Жыл бұрын

    Writing a byecode VM in go and that made me discover a lot of hard things lol

  • @GolangDojo

    @GolangDojo

    Жыл бұрын

    Yup, building things is key

  • @myriaxont

    @myriaxont

    Жыл бұрын

    Me too. But i wrote 3 bytecode stack virtual machines. I think to try also some simple register VM. XD

  • @blade2663

    @blade2663

    Жыл бұрын

    @@myriaxont I cant seem to understand register based VM. I know they are faster by quite a lot Can u give me any resources on implementing one?

  • @linkernick5379

    @linkernick5379

    Жыл бұрын

    Isn't Rust more suitable for this task? (Deno and Wasmtime come to mind)

  • @myriaxont

    @myriaxont

    Жыл бұрын

    ​@@linkernick5379 In this case Go is as blazingly fast as Rust. In most cases you need one allocation only, so GC isn't a problem. For strange cases you can use the pool. If you want to build a really complex but fast VM - you probably should use C.

  • @mister-ace
    @mister-ace Жыл бұрын

    After learning rust, these things in the video are very easy🌚

  • @chizidotdev
    @chizidotdev Жыл бұрын

    Lmaooo… I want that meme in the intro 😂😂😂

  • @esra_erimez
    @esra_erimez Жыл бұрын

    All very valid points.

  • @piotao
    @piotao Жыл бұрын

    I've seen your short appearance on Bogdans' Rusty channel, great job, and very nice humour! :) LOL, hahaha. And you also created chatseet? :) You guys have a lot in common!

  • @mantrax314
    @mantrax314 Жыл бұрын

    Very interesting video!

  • @piotao
    @piotao Жыл бұрын

    I also bet that in go there are few quirks and bells and whistles according channels. What about them? What about 0-size data, etc. ? If will be nice to watch...

  • @kamilziemian995
    @kamilziemian995 Жыл бұрын

    I don't know Go. I barely can read few paragraphs of Go Spec.

  • @sungjuyea4627
    @sungjuyea4627 Жыл бұрын

    I don't no anything about Go(currently only taking a glance at...) but I find this video really interesting. I am a darned TypeScript programmer and it's fun to compare the type system btw TS and Go!

  • @cat47

    @cat47

    Жыл бұрын

    I feel like typescript is more oop than go. Also, "btw" stands for by the way, not "between".

  • @sungjuyea4627

    @sungjuyea4627

    Жыл бұрын

    @@cat47 www.google.com/search?q=between+abbreviation&sxsrf=AJOqlzVhVBjwe5RqOcxURjfjJqxtQb3tag%3A1673107581239&ei=fZi5Y8SYDtfh2roPoJiq0A0&oq=between+a&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAxgAMgUIABCRAjIFCC4QgAQyBQgAEIAEMgUILhCABDIFCAAQgAQyBQgAEIAEMgUIABCABDILCAAQgAQQsQMQgwEyBQgAEIAEMggILhCABBDUAjoKCAAQRxDWBBCwAzoHCAAQsAMQQzoHCCMQ6gIQJzoMCAAQ6gIQtAIQQxgBOgQIIxAnOgQIABBDOgoILhDHARDRAxBDOg4ILhCABBCxAxDHARDRAzoICAAQsQMQgwE6EAguELEDEMcBENEDENQCEEM6CwguEIAEELEDEIMBOhEILhCABBCxAxCDARDHARDRAzoHCC4QsQMQQzoTCC4QsQMQgwEQxwEQ0QMQ1AIQQzoKCAAQsQMQgwEQQzoOCC4QgAQQsQMQgwEQ1AI6CAgAEIAEELEDSgQIQRgASgQIRhgBUNwJWP4fYPAnaAJwAXgAgAGmAYgBjwqSAQMwLjmYAQCgAQGwARTIAQrAAQHaAQYIARABGAE&sclient=gws-wiz-serp

  • @cat47

    @cat47

    Жыл бұрын

    @@sungjuyea4627 but it could also be seen as an acronym for "by the way," adding confusion. if you wanted to make it clear that you are using btw as an abbreviation and not an acronym, you could add a dot after the abbreviation like this: "compare the type system btw. ts and go"

  • @sungjuyea4627

    @sungjuyea4627

    Жыл бұрын

    @@cat47 👍

  • @_DRACrY
    @_DRACrY Жыл бұрын

    Does go 1.20 address this?

  • @RodolfoAlcazarPortillo
    @RodolfoAlcazarPortillo Жыл бұрын

    You should make a video about why are more methods when accessing a pointer, than when accessing a variable, due to all go's syntactic sugar. I still don't get it.

  • @raf6125
    @raf6125 Жыл бұрын

    IMO, Mistery 1: it does harm readability Didn't know much about the others.. thanks!

  • @AcidiFy574
    @AcidiFy574 Жыл бұрын

    What are must-have extensions for go ? Oh & this is someone using FFMPEG with Go ( automated editing FTW) kzread.info/dash/bejne/goCNkrVxpLrIaLA.html

  • @josephkristwell
    @josephkristwell Жыл бұрын

    I'm trying to work on an MVP and learning Go Lang because I find it suitable for my project. But since I was unfamiliar I knew what I needed to do was to learn its syntaxes and constructs-Go lang's basics. In the end, I realized that was a waste of time (not 100% tho as some knowledge still remain vital). And why was that anyway? Upon getting started with its packages, I realized those knowledge I had garnered from learning Go lang basics didn't pan out to be that useful for implementing packages. The way the packages are exemplified for use are quite technical and a little challenging. Go lang is fun but as one gets started, it's a little hard to wrap the head around the so-called statically-typed language. For me, if the future or present me could advice my self who was getting started with go lang, then it would be to learn its packages... I discovered the basics were not much of a problem. I am doing some research on Go lang packages to discover how easy it would be for me to implement them and I landed on your channel. Hope I get the help I need!

  • @a0um
    @a0um Жыл бұрын

    I stopped watching after you prevent the “naked return” as you did not explain why it was introduced. Have you done summer research and find summering else beyond “it can harm readability”.

  • @TheArgentan
    @TheArgentan Жыл бұрын

    Another unknown use for Go: education! docs.google.com/document/d/1dpKjHGzzmpGe2-34x6fb3fhtEBW25OCwL9UvVEOwrPc/edit?usp=sharing

Келесі