I like to see pointers used again. They felt like such a headache when I was learning them, but over time I really like the usage. Lower-level memory control is always welcome. It's also very nice that pointers are by no means a requirement to understand in the language. In C, C++, etc. pointers are must-know. Now if you're working production in Go... yeah, you almost certainly need to understand pointers. An existing codebase you're working on will almost certainly have pointers used.
@@ForTheOmnissiah same story here. We used pointers in first semester of college and they just flew by me. Now with more experience I always find them useful, and I miss them in Java
I tend to be reticent with "Learn X in Y time units" kind of videos. However, I must say this is a very competent and well presented introduction to the main concepts and constructs of the language. Congratulations and thank you for sharing.
Why, it looks ugly and clunky as fuck. I don't think it has a single feature that isn't done better in other languages. lol, why not just use c++, wich simply is more sober than this bullshit.
@@TroenderTass Man, you are probably some kid who picked C++ 3 days ago and think every other language is obsolete. Every language has it's own advantages, stop spewing your bullshit.
@@ananttiwari1337 Im just curious why this tutorial would make anyone curious about such a redundant language. You can just do c, this one seem to offer nothing new, and looks like it belongs to the 70s. You need to stop being sensitive about it, it is just at tool, and a really poorly desinged one from the looks of it.
Big thanks! I am software developer with no experience in Go and this is exactly what I needed. Short, fast introduction to basic stuff so I can move on with in coding with Go. Subscribed. Thanks!
dude you are amazing. from someone who already knows a lot of programming languages, this is a godsend. you dont hash over the stuff that we usually skip over. thank you.
Thanks for the video! This was a really concise and well explained overview for someone like myself who is already familiar with almost all of the concepts you covered, but doesn’t know the syntax in Go.
New to go and programming. Found your video most helpful and easy to follow along on my end. Fantastic explanation. Tks East Coast Sr (70 yrs young)! Never too young to learn!
I think we should encourage Jake to make more educational videos. He would be a great instructor! There are a lot of tutorials, books, MOOCs on the Internet. Instructor's personality and empathy could make people learn better and be more motivated during their study.
It's amazing what you can get done just by accelerating the typing and reading from a well-prepared script. I get tired of other peoples' videos where they spend half the time clicking on keyboards and bumbling around.
Great video. Short. Sweet. No babbling. I watch most educational videos at 1.5X or even 2X. You're already teaching at that speed and I greatly appreciate it.
Thank you!!! Probably the best, no-nonsense, not-boring, not-heavily-implied, no tiny writing on large res screen video tutorial I've seen in a while. Also finally understood what pointers are, something that I've struggled to grasp after many years.
Wow this is such a great video . I finished this course and applied at google and got the software engineering job. Edit : Sorry I was high when I applied and posted this and I later realized that the interviewers were mocking me sarcastically. The video is good tho.
It's been 10 years since I started my career. This guy explained pointers better to me than I think anyone else ever has. That might be sad, but I haven't had to use them directly since college. I'm glad to understand them now though. Thanks!
@barkley128 yeah the pace is good. But he should minimize the terminal window immediately after running so that we can see the code instead of staring at the terminal.
Short, clear and to the point. All any existing programmer needs to learn the basic syntax. Great job! Watched at 1.25x while eating pizza in my lunch break.
An old friend of mine told me before entering my software carrer, "If you want to be good, dont learn all programming lenguages cause you will become useless, instead, pick one that you like and master it"
as a programmer who already knows a bunch of languages, and doesnt appreciate it when every intro to a language vid feels the need to explain what an if statement is, I loved your tutorial
Nice overview tutorial. I don’t know if I like Go. I hadn’t looked at it before, so this was a nice introduction. I may play with it a bit more. It seems one can achieve class-like functionality by creating functions which take a struct (or any other type) as the first argument. It reminds me somewhat of the Actor language. Thanks for making this tutorial.
So good video! Not too fast, not too slow and boring, most important aspects checked in short time, tips about how we can learn more about it, THAT'S GREAT!
But without the performance and with unbelievable restrictions (just look at packages and tests). And interfaces are always dynamic dispatch and without default implementation. I don't get the need for that language.
@@Elite7555 The more you can avoid pointers, the less skilled programmers you'll need to hire. You need to know pointers in C, even for the simple stuff
Everyone always hates on interpreted languages/ oop languages calling them non PERFOMANT . If you stroke your dick off to the mirror cause you know how to waste time on pointers instead of writing a solution good for you. Programming languages are tools , and the hardware is there to support abstractions and things that can make our lives easier. If c is so great , why then most businesses don't use it unless it's for embedded applications ... It's like oh yeah I'll use 40 lines to implement this solution and make myself feel good cause I'm doing more MANLY WORK. Reality is you could probs implement it in lesser lines by using a language that supports more abstractions .... Will it be as performant ... No , but will it do the job ... Ofc. Try using c for server side , or heck client side lol.
@@abeplus7352 Seriously though, completely agree. CGI was a fucking nightmare, and things like Apache and Nginx are cumbersome if you ask me. You can launch a fully functional webserver in Go using like 10 lines of code.. You can even write C INSIDE Go programs if you're itching to jerk off to the nanoseconds you shave off something that doesn't really need the extra speed.
11:53 Jake, so very logical and coherent, I really appreciate the thought you put into thinking!!! I would like to ask if there are any concise, coherent, and logical explanations of pointers, particularly related to Go that you would recommend, besides the Go documentation ;-)
This is really helpful. Thanks so-much! I am a software engineer having experience in Java, C, C++, PHP, and Python. I am writing my first program in GoLang :). You are awesome!
Brilliant video. I'm an experienced dev and I have dabbled with Go in the past (modifying existing code), but wanted to learn the basics of Go quickly. This was well explained and got directly to the point. Thanks!
Man the type system for this language looks fucked up. I know they probably didn't want to look like C++ but surely `int x = 1` is easier to read and write than `var x int = 1`?
It was weird for me at first, too, but I found that reading "var x int" to myself as "x is a(n) int" makes it easier, and I got used to it after a few days. This might also help explain: blog.golang.org/gos-declaration-syntax
its a great mix between c, basic and pascal - would have loved it if it had stuck to c syntax consistanly - but considering giving Go a chance against Python
If I have to guess I-d say they did it for a couple of reason. Parsing speed > the parser can understand it is a declaration just just by reading a signle token. (same with functions) c syntax is pretty stupid parser-wise Readability -> same thing but for humans :)
Great stuff. breath of fresh air to have someone just blast through the stuff that mostly like other languages but just needs a quick example to get the point across.
@@DerH0ns Isn't it? Really? Poor Ken Thompson, was involved in development of C language. By now his name are related to a language who almost everyone thinks it's a joke.
Excellent, pacy tutorial for those who already have a language or two under their belt. Watched it two or three times (and the one on concurrency) - and I'm away in Go - and not looking back. There is a lot to love about the language - and getting closer to the metal again - with cross-platform portability, and native binaries that run at twice the speed of .NET core feels great. Somehow the constraints of a small, tight language set you free - a language that puts you back in control and you feel you could know all of within a few weeks (instead of a few lifetimes). The syntax is a little quirky (the dangling else caught me out) in places - but it is clean and generally very elegant.
I've only been coding for the past 4 months in java, And my internship said this is one thing they'd like me to learn, thanks for the video, it dazzled my brain a bit but it was straight forward enough that even I could mostly understand. Thank you
This will go down as one of those lessons that I will recall several times for the nice foundation it set to understanding the language. You're a legend in my mind. Thanks.
It prevents a huge amount of bugs. I've lost count how many times I've ran into errors using Javascript & Lua where a variable contained an unexpected value type. Especially with using third party libraries where I'm not entirely sure what arguments a function expects, and in what order. Errors like these are easily caught with a typed language and it takes essentially zero effort to specify the type of a variable. What's the advantage of NOT having types? Basically none. That said, I wouldn't say javascript "needs" types especially considering backwards compatibility. Flow or TypeScript is enough, in my opinion, for anyone that actually wants type checking in Javascript.
I'm new and learning javascript, i was wondering why don't they design languages so you can't write erroneous code, javascript seems so loose compared to some other languages... i'm pretty sure js needs type when you work in a big company and in teams with huge projects... but if u work in small company or freelancer and doing just mostly websites with not so complex back-end you probably okay without no types ... i don't quite like how types are written "inline" in go... I wouldn't mind them if u can define them them on top of the file where your imports usually are :P var x int ... looks just confusing to me... well javascript was written in 10minutes at coffee break... :P i do agree that python and this go thing looks cleaner and more appealing syntax-wise... Not sure why my friend suggested learning python as first languages instead of javascript(since im mostly interested in web dev, i don't think i have the mental capacity to do complex stuff like neuralnets, data science and all that jazz...) I just took advice from some hackernoon or something similar post that coming from js it's easier to go over python than vice verca because of the ident being part of syntax... What do you think.. ?
@Microphunktv I found it incredibly helpful to start with a strongly-typed language. I went from C++ to Java, and then on to assembly. Weakly-typed languages came later. Starting with a weakly-typed language will mean that you get used to writing code that could be sloppy or dangerous in other languages. If you start with a strongly-typed language, you get a better understanding of what's happening under the hood, and if you move to a weakly-typed language later on, you won't be taking bad habits with you.
I literally understood more in your video than by reading an entire book about Go ( clearly i am the problem but that's not the point) you're excellent, like really good at teaching, Keep going cause you're helping alot of people !
It's pretty dissimilar. Go has a garbage collector, while C relies on the programer to malloc/free and c++ has new/delete and RAII. Also Go has no generics, templates, or code-generation.
Great video! Go seems like a simple language. As you said at the end, this is a great way to get started as someone who has knowledge in other languages. Makes it easier to jump into the use of libraries and understanding their guides on their usage.
because you almost never use it, except when you declare variables which get assigned later on. Often things like var result string if ... { result = "abc" } else { result = "def" } fmt.Printf("derp is: %s ", result)
I had to slow down there video by 0.25x, and even then I was pausing occasionally. That said, I appreciate the pacing. The talking was neither too succinct, nor too detailed. it was pithy & perfect. Thank you.
yep in comparison to c style languages and tbh most languages follow similar syntax and this one just decided to not which makes it annoying to get used to.
I am evaluating kong apigateway and came across go plugins just want to learn quickly the syntax and basics wow this is the best roundup of go in 12 mins
I can handle camel case. I can even handle snake case, even though it takes more keypresses to type and thus slows down programmers. What I can't handle, though, is functions in a package being capitalized. That's classes and constants. Who designs garbage like this?
It really breaks my mind that every f*cking programming language needs to change the way you declare variables, functions, etc. As if they just want to make sure that you will have a bad time learning it. Wouldn't it be more efficient to define a standard for this standard stuff like declaration and then every language adds their own implementation and additions?
You need a decent understanding of all the principles of programming before you watch this 12 minute video. So more like explore go in 2 years and 12 minutes.
If you've decided not to learn a language just because you didn't see colored error output, then not only are you a picky spoiled brat, but you're also a bad programmer for being so inflexible. It's not something to be proud of, since the less willing you are to learn things you're not used to, the faster you'll be left behind and the more likely you will die poor and alone. It just means more jobs for us who aren't so spoiled.
Amazing tutorial. Took about 45 minutes for me to go through and do everything myself with more examples. Also I like the language. Gives me a reason to dig deeper.
If college had been more like this with a basic overview.... and THEN diving into the details... I wouldn't have had to drop out and teach myself how to code.
I never comment on videos. However yours is simply outstanding, while the depth of knowledge was fairly rudimentary, your way of explaining everything was amazing. Super engaging and fun!! You sir are a great teacher.
After 1 year of learning C in college and choosing to investigate Golang, i found this video very helpful as an introduction to the languaje, thank you! Also now my investigation is almost over and i can say that i really like Go, it's very simple to use and to understand in comparation to C
I was bored and wanted to learn a new programming language. 6 minutes in and I have already written FizzBuzz. Very good tutorial/introduction to GOlang.
I originally watched this about 12 months ago when I started a new job as a junior dev and this was something they wanted me to learn for a week, never had to use it at work in the last year, but came back and got interested today, and man this all makes a lot of sense after a year in industry - whereas a year ago the pointer stuff frazzled my brain a bit!
The video itself is great and really clear. Someone who does programming will be able to grasp everything straight away. Thank you. Commenting on the syntax I want to say that the only authentic feature it has is double returns but even this feature is practically just Python's tuple or C++ type... Looks like twisted C++ to me.
woah!! amazing, so i just learnt the basics of Golang in just 10 mins, it was very useful for someone who is not a beginner and just want to try a different language but don’t want to spend hours learning things from scratch as he already knows the basics of programming
Jake, great video, really!!! And a message to your viewers... The title is misleading ;) you can "learn how to learn go" in 12 minutes. if you follow the video, write the examples, understand them, try variations, make mistakes, understand what happened and why, correct them, fix your code... it's at least one hour if you do it quick, which means no use for you in the future. Doing it right, at least two hours. if you think you've done it right and you've taken less than two hours you're deluded and not dedicated enough to learn. Jake, thanks again. this is what got me started! looking forward to build great stuff!
Brilliant overview for developers that know other languages and the basic concepts already
I like to see pointers used again. They felt like such a headache when I was learning them, but over time I really like the usage. Lower-level memory control is always welcome. It's also very nice that pointers are by no means a requirement to understand in the language. In C, C++, etc. pointers are must-know.
Now if you're working production in Go... yeah, you almost certainly need to understand pointers. An existing codebase you're working on will almost certainly have pointers used.
@@ForTheOmnissiah same story here. We used pointers in first semester of college and they just flew by me. Now with more experience I always find them useful, and I miss them in Java
@@ForTheOmnissiah Pointers are pretty shitty for code readability though.
At 2x speed you can learn it in 6
Damn I should have read comments first
That is so true
At 2x it's be ultrasonic.
yeah, so I can procrastinate the other's 6 minutes
@@beo7929 I always put off procrastinating as long as I can.
Alternate title : "Learn GO in one GO"
Let's go learning *Go*
I don't think that that would GO well.
😂
I tend to be reticent with "Learn X in Y time units" kind of videos. However, I must say this is a very competent and well presented introduction to the main concepts and constructs of the language. Congratulations and thank you for sharing.
I completely agree!!!!
Thanks to jake!
Love the word reticent
i couldnt agree more with you!
This 12 min video covered and explained a lot more than some 1-2 hour videos out there! Thank you!
That's also the idea behind golang
@@opensourceradionics true that, lol
I did not expect that much quality in 12mins, I'm impressed
Dare I say the first time I have seen a TH-camr actually zoom in on the code so I can read it.
IKR, literally all the Java tuts I watched were from 2008 on Windows 7 using Eclipse.
Agreed
for reals dude lol
@@retrodragon2249 some old people still uses eclipse .
well that's a legit 12 min course, and made me genuinely interested in Go.
Why, it looks ugly and clunky as fuck. I don't think it has a single feature that isn't done better in other languages. lol, why not just use c++, wich simply is more sober than this bullshit.
@@TroenderTass Man, you are probably some kid who picked C++ 3 days ago and think every other language is obsolete. Every language has it's own advantages, stop spewing your bullshit.
@@ananttiwari1337
Im just curious why this tutorial would make anyone curious about such a redundant language. You can just do c, this one seem to offer nothing new, and looks like it belongs to the 70s. You need to stop being sensitive about it, it is just at tool, and a really poorly desinged one from the looks of it.
@@TroenderTass I trust your vast experience and knowledge.
@@jarod1701 You should
One of the better youtube channels out there. No fluff, just quick and precise, straight to the point.
Truly an excellent crash course for people already versed in similar coding languages. Great work!
Big thanks! I am software developer with no experience in Go and this is exactly what I needed. Short, fast introduction to basic stuff so I can move on with in coding with Go. Subscribed. Thanks!
dude you are amazing. from someone who already knows a lot of programming languages, this is a godsend. you dont hash over the stuff that we usually skip over. thank you.
Thanks for the video! This was a really concise and well explained overview for someone like myself who is already familiar with almost all of the concepts you covered, but doesn’t know the syntax in Go.
New to go and programming. Found your video most helpful and easy to follow along on my end. Fantastic explanation. Tks East Coast Sr (70 yrs young)! Never too young to learn!
I think we should encourage Jake to make more educational videos. He would be a great instructor! There are a lot of tutorials, books, MOOCs on the Internet. Instructor's personality and empathy could make people learn better and be more motivated during their study.
Check out Mike Dane's channel.
Fantastic introduction. This saved me some serious amount of time learning Go-specific syntax.
It's amazing what you can get done just by accelerating the typing and reading from a well-prepared script. I get tired of other peoples' videos where they spend half the time clicking on keyboards and bumbling around.
and yet it took you more than a year to watch this.
@@brserralheiro Huh?
Joining all the previous commenters, I love how efficiently you explained it. Exactly what is needed, and none of the BS
simple, fast and enough for the beginning. Thank you ! :)
Great video. Short. Sweet. No babbling. I watch most educational videos at 1.5X or even 2X. You're already teaching at that speed and I greatly appreciate it.
Very clear, concise and fast pace. Couldn't ask for a better tutorial. Thank you Jake!
Thank you!!! Probably the best, no-nonsense, not-boring, not-heavily-implied, no tiny writing on large res screen video tutorial I've seen in a while.
Also finally understood what pointers are, something that I've struggled to grasp after many years.
Wow this is such a great video . I finished this course and applied at google and got the software engineering job.
Edit : Sorry I was high when I applied and posted this and I later realized that the interviewers were mocking me sarcastically.
The video is good tho.
Bruh
It's been 10 years since I started my career. This guy explained pointers better to me than I think anyone else ever has.
That might be sad, but I haven't had to use them directly since college. I'm glad to understand them now though. Thanks!
Make more of this 12 min videos where You teach..... You're really good at it
You go ahead💪❤️
@barkley128 yeah the pace is good. But he should minimize the terminal window immediately after running so that we can see the code instead of staring at the terminal.
Indeed! MORE TWELVES! How about VueJS, K8s, Rancher .... -)
Short, clear and to the point. All any existing programmer needs to learn the basic syntax.
Great job!
Watched at 1.25x while eating pizza in my lunch break.
That short unintentional (pass by value | pass by pointer) explanation, was the best explanation I found so far
Yeah if everyone can stop making new languages that I have to learn that'd be great
You don't have to.
Devon So are you
LOL :D
They give more flexibility for developers to pick which one suits their use case better. This is my first introduction to Go and it seems pretty cool.
An old friend of mine told me before entering my software carrer, "If you want to be good, dont learn all programming lenguages cause you will become useless, instead, pick one that you like and master it"
as a programmer who already knows a bunch of languages, and doesnt appreciate it when every intro to a language vid feels the need to explain what an if statement is, I loved your tutorial
Nice overview tutorial. I don’t know if I like Go. I hadn’t looked at it before, so this was a nice introduction. I may play with it a bit more. It seems one can achieve class-like functionality by creating functions which take a struct (or any other type) as the first argument. It reminds me somewhat of the Actor language.
Thanks for making this tutorial.
For a person who just wanted to see the key structure of the language, this video is perfect! Thank you.
Fantastic video; I love how quick and concise the presentation is. Makes me want to learn Go!
So good video! Not too fast, not too slow and boring, most important aspects checked in short time, tips about how we can learn more about it, THAT'S GREAT!
So, C with some fancier syntax and built-in data types.
But without the performance and with unbelievable restrictions (just look at packages and tests). And interfaces are always dynamic dispatch and without default implementation. I don't get the need for that language.
@@Elite7555
The more you can avoid pointers, the less skilled programmers you'll need to hire. You need to know pointers in C, even for the simple stuff
@@user-hk3ej4hk7m Well yes but pointers aren't even a little complex..
Everyone always hates on interpreted languages/ oop languages calling them non PERFOMANT . If you stroke your dick off to the mirror cause you know how to waste time on pointers instead of writing a solution good for you. Programming languages are tools , and the hardware is there to support abstractions and things that can make our lives easier. If c is so great , why then most businesses don't use it unless it's for embedded applications ...
It's like oh yeah I'll use 40 lines to implement this solution and make myself feel good cause I'm doing more MANLY WORK. Reality is you could probs implement it in lesser lines by using a language that supports more abstractions .... Will it be as performant ... No , but will it do the job ... Ofc.
Try using c for server side , or heck client side lol.
@@abeplus7352 Seriously though, completely agree. CGI was a fucking nightmare, and things like Apache and Nginx are cumbersome if you ask me. You can launch a fully functional webserver in Go using like 10 lines of code.. You can even write C INSIDE Go programs if you're itching to jerk off to the nanoseconds you shave off something that doesn't really need the extra speed.
Loved how quickly you gave the overview of the language, thank you
11:53 Jake, so very logical and coherent, I really appreciate the thought you put into thinking!!! I would like to ask if there are any concise, coherent, and logical explanations of pointers, particularly related to Go that you would recommend, besides the Go documentation ;-)
I like it! I did Go while back and moved on to other non-Go projects. it took me 12 minutes to recap the language! - thanks a lot Jake
Cool intro to the language syntax, made me want to learn more about it. Great job Jake!
Brilliant tutorial within 12 min I found on TH-cam 🔥
You teach me in these 12 minutes❤
Types one letter, 5 new lines appear
This is really helpful. Thanks so-much! I am a software engineer having experience in Java, C, C++, PHP, and Python. I am writing my first program in GoLang :). You are awesome!
You are great man.... thank you for this amazing tutorial... keep it up...
Brilliant video. I'm an experienced dev and I have dabbled with Go in the past (modifying existing code), but wanted to learn the basics of Go quickly. This was well explained and got directly to the point. Thanks!
Man the type system for this language looks fucked up. I know they probably didn't want to look like C++ but surely `int x = 1` is easier to read and write than `var x int = 1`?
It was weird for me at first, too, but I found that reading "var x int" to myself as "x is a(n) int" makes it easier, and I got used to it after a few days. This might also help explain: blog.golang.org/gos-declaration-syntax
That is why you would write x := 1. But yeah, it is fucked. Building something complex is out of the question.
Go is already used to build some of the most complex systems in the industry today :)
its a great mix between c, basic and pascal - would have loved it if it had stuck to c syntax consistanly - but considering giving Go a chance against Python
If I have to guess I-d say they did it for a couple of reason.
Parsing speed > the parser can understand it is a declaration just just by reading a signle token. (same with functions) c syntax is pretty stupid parser-wise
Readability -> same thing but for humans :)
Great stuff. breath of fresh air to have someone just blast through the stuff that mostly like other languages but just needs a quick example to get the point across.
I don't think the syntax is very intuitive ...
I know right. For a language made in 2009 its syntax if quite archaic but I guess it was made to be fast and be similar to C's syntax
@@randallgyebi978The syntax doesn't have to garbage to make the language fast, but go isn't fast anyway
@@DerH0ns Isn't it? Really? Poor Ken Thompson, was involved in development of C language. By now his name are related to a language who almost everyone thinks it's a joke.
@@Joe-ud1de Lol? Who thinks C is a joke?
@@SuperArjun11 I was talking about Golang. You dumbass.
Excellent, pacy tutorial for those who already have a language or two under their belt.
Watched it two or three times (and the one on concurrency) - and I'm away in Go - and not looking back.
There is a lot to love about the language - and getting closer to the metal again - with cross-platform portability, and native binaries that run at twice the speed of .NET core feels great.
Somehow the constraints of a small, tight language set you free - a language that puts you back in control and you feel you could know all of within a few weeks (instead of a few lifetimes).
The syntax is a little quirky (the dangling else caught me out) in places - but it is clean and generally very elegant.
Loved it :) really helped me out
Great video for those who are familiar with programming concepts and want to see how to get started with go. Thanks!
This just sounds like python
but with extra steps
you sound like a python user
Perfect into to go-lang for folks who already know how to program. To the point !!
go seems like a mix of python and javascript, pretty cool
it's static typed, so more like a mix of c and a scripting language
I've only been coding for the past 4 months in java, And my internship said this is one thing they'd like me to learn, thanks for the video, it dazzled my brain a bit but it was straight forward enough that even I could mostly understand. Thank you
I thought you were going to teach us the classic Chinese game "Go" before I clicked here... Sorry 😂😂
Sry mate 😂😂
it would take a lo longer to learn that than this lol
hhh thats funny
It takes you 12 minutes to learn the rules, and 12 years to get to a beginner level.
I wonder how many people have created Go in Go. Probably a lot more than have recreated Rust in Rust.
Ba dum tss
jake wright you are monster in explaining go in 12 mins
Could you do a tutorial like this for java? i think it would be really helpful
This will go down as one of those lessons that I will recall several times for the nice foundation it set to understanding the language. You're a legend in my mind. Thanks.
This feels like destroying what ever Java was striving to build since past 25 years. Going back to pointers! Great......Just great..........
finally a video that does teach the basics in 10 hours.
Experienced engineers can learn in 20 mins.
Kind of like a more strongly typed javascript. However, I feel like you could get pretty creative with writing programs in go.
It prevents a huge amount of bugs. I've lost count how many times I've ran into errors using Javascript & Lua where a variable contained an unexpected value type. Especially with using third party libraries where I'm not entirely sure what arguments a function expects, and in what order. Errors like these are easily caught with a typed language and it takes essentially zero effort to specify the type of a variable. What's the advantage of NOT having types? Basically none. That said, I wouldn't say javascript "needs" types especially considering backwards compatibility. Flow or TypeScript is enough, in my opinion, for anyone that actually wants type checking in Javascript.
Yeah it has close to nothing similar to js lmao, Go shoots for a minimal API while JavaScript's just grows because of the poor initial specification
Yeah, not really.
I'm new and learning javascript, i was wondering why don't they design languages so you can't write erroneous code, javascript seems so loose compared to some other languages... i'm pretty sure js needs type when you work in a big company and in teams with huge projects... but if u work in small company or freelancer and doing just mostly websites with not so complex back-end you probably okay without no types ... i don't quite like how types are written "inline" in go...
I wouldn't mind them if u can define them them on top of the file where your imports usually are :P
var x int ... looks just confusing to me...
well javascript was written in 10minutes at coffee break... :P
i do agree that python and this go thing looks cleaner and more appealing syntax-wise...
Not sure why my friend suggested learning python as first languages instead of javascript(since im mostly interested in web dev, i don't think i have the mental capacity to do complex stuff like neuralnets, data science and all that jazz...)
I just took advice from some hackernoon or something similar post that coming from js it's easier to go over python than vice verca because of the ident being part of syntax...
What do you think.. ?
@Microphunktv I found it incredibly helpful to start with a strongly-typed language. I went from C++ to Java, and then on to assembly. Weakly-typed languages came later. Starting with a weakly-typed language will mean that you get used to writing code that could be sloppy or dangerous in other languages. If you start with a strongly-typed language, you get a better understanding of what's happening under the hood, and if you move to a weakly-typed language later on, you won't be taking bad habits with you.
I literally understood more in your video than by reading an entire book about Go ( clearly i am the problem but that's not the point)
you're excellent, like really good at teaching,
Keep going cause you're helping alot of people !
You have great teaching skills, however this "Go" language is very similar to C/C++, with some syntax differences
It's pretty dissimilar. Go has a garbage collector, while C relies on the programer to malloc/free and c++ has new/delete and RAII. Also Go has no generics, templates, or code-generation.
Great video! Go seems like a simple language. As you said at the end, this is a great way to get started as someone who has knowledge in other languages. Makes it easier to jump into the use of libraries and understanding their guides on their usage.
Imagine getting this video demonetized too....
Best language I've come across. You explained quite eloquently.
Why don't they just write int variableName = value;
what's the point of writing var variableName int = value if you have to type it anyways
lets interpret it this way: variable varName is an int and it equals to value ;) now it makes sense doesn't it?
because you almost never use it, except when you declare variables which get assigned later on.
Often things like
var result string
if ... {
result = "abc"
} else {
result = "def"
}
fmt.Printf("derp is: %s
", result)
I had to slow down there video by 0.25x, and even then I was pausing occasionally. That said, I appreciate the pacing. The talking was neither too succinct, nor too detailed. it was pithy & perfect. Thank you.
I hated Go at first because of the syntax
Hated the syntax in comparison to what?
Everything.
Seriously what the fuck were they smoking when they came up with "var name int"?
C-style language.
yep in comparison to c style languages and tbh most languages follow similar syntax and this one just decided to not which makes it annoying to get used to.
I am evaluating kong apigateway and came across go plugins just want to learn quickly the syntax and basics wow this is the best roundup of go in 12 mins
Why Go?
Why not Go?
@@jayankaghosh because it's a horrible shitty language
@@jayankaghosh let's go
@@jayankaghosh it doesn't bring anything new
really great 12 minute video! this helps me get started exploring go now that I have enough syntax to play around with
I can handle camel case. I can even handle snake case, even though it takes more keypresses to type and thus slows down programmers. What I can't handle, though, is functions in a package being capitalized. That's classes and constants. Who designs garbage like this?
Wow, you must be really stable guy
I bet people around the office really love you.
I actually build shit and care about readability and quality. Not even Google heavily uses this shitty language.
Yeah. Coming from something like python the OCD starts to fuck with you...
com.company.package.SomeClass.someMethod()
God bless Java
Thanks. If you know C you probably understand all of concepts presented here, and after 12 minutes you have really learnt basics of Go.
It really breaks my mind that every f*cking programming language needs to change the way you declare variables, functions, etc. As if they just want to make sure that you will have a bad time learning it. Wouldn't it be more efficient to define a standard for this standard stuff like declaration and then every language adds their own implementation and additions?
As a C and Pascal programmer I found this very helpful.
please, python
thanks fella. i have been following him for a while but never knew that he has one about python)
Is python a language ?
I felt like I finished Full marathon in 12 mins.... Never ever learned anything that quickly.... Big thank you...
You need a decent understanding of all the principles of programming before you watch this 12 minute video. So more like explore go in 2 years and 12 minutes.
I am from TIBCO middleware background & starting to learn Go quite late may be. But your video has given me confidence. Thanks a lot.
No colored error output? I am out of here!
If you've decided not to learn a language just because you didn't see colored error output, then not only are you a picky spoiled brat, but you're also a bad programmer for being so inflexible.
It's not something to be proud of, since the less willing you are to learn things you're not used to, the faster you'll be left behind and the more likely you will die poor and alone. It just means more jobs for us who aren't so spoiled.
its a fucking joke oh my god
Cause it's running on terminal , if ides supported it you might get a colored output.
Very nicely explained. Really helpful for someone new to Golang but has prior experience in other programming languages.
Very on topic introduction to Go! Surpassed my expectations of a 12 min video and sparked genuine interest in the language!
Amazing tutorial. Took about 45 minutes for me to go through and do everything myself with more examples. Also I like the language. Gives me a reason to dig deeper.
Excellent aphoristic introduction to Go for those on the Go and in the Know but not in the No.
If college had been more like this with a basic overview.... and THEN diving into the details... I wouldn't have had to drop out and teach myself how to code.
I never comment on videos. However yours is simply outstanding, while the depth of knowledge was fairly rudimentary, your way of explaining everything was amazing. Super engaging and fun!! You sir are a great teacher.
already updated my LinkedIn profile with Go new skill, expert
Now I can add Go as a skill in my resume.
thanks man.
After 1 year of learning C in college and choosing to investigate Golang, i found this video very helpful as an introduction to the languaje, thank you!
Also now my investigation is almost over and i can say that i really like Go, it's very simple to use and to understand in comparation to C
This is the best 1 minute explanation of the pointers I have seen! 👏👏👏
This is the perfect way for me to learn stuff. Thanks a lot. I understood 100%.
I was bored and wanted to learn a new programming language. 6 minutes in and I have already written FizzBuzz. Very good tutorial/introduction to GOlang.
I originally watched this about 12 months ago when I started a new job as a junior dev and this was something they wanted me to learn for a week, never had to use it at work in the last year, but came back and got interested today, and man this all makes a lot of sense after a year in industry - whereas a year ago the pointer stuff frazzled my brain a bit!
Looking to learn golang for making kubernetes custom operators and by far this is the best video to kick start. Thanks for the demo
The video itself is great and really clear. Someone who does programming will be able to grasp everything straight away. Thank you.
Commenting on the syntax I want to say that the only authentic feature it has is double returns but even this feature is practically just Python's tuple or C++ type... Looks like twisted C++ to me.
The best go short video on youtube
woah!! amazing, so i just learnt the basics of Golang in just 10 mins, it was very useful for someone who is not a beginner and just want to try a different language but don’t want to spend hours learning things from scratch as he already knows the basics of programming
Great video. You got me at pointers. My favourite feature of programming languages. Ken Thompson's role is clear.
Jake, great video, really!!! And a message to your viewers... The title is misleading ;) you can "learn how to learn go" in 12 minutes. if you follow the video, write the examples, understand them, try variations, make mistakes, understand what happened and why, correct them, fix your code... it's at least one hour if you do it quick, which means no use for you in the future. Doing it right, at least two hours. if you think you've done it right and you've taken less than two hours you're deluded and not dedicated enough to learn.
Jake, thanks again. this is what got me started! looking forward to build great stuff!
Incredibly concise and clear introduction. Love it. Thanks for the video!