Types – Go Lang Practical Programming Tutorial p.3

Welcome to part 3 of the Go programming tutorial series. In the previous tutorial, we covered some basics on imports and functions. Next, we’re going to talk a bit about types in Go. As mentioned in the first tutorial, Go is a static-typed language, meaning you need to specify the type, and the type cannot change without you explicitly changing it.

Text tutorials and sample code: https://pythonprogramming.net/go/
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

Comments

Lurkin King says:

But why result in console appears so slow?

Filip Andersson says:

first

Fredrik Wigsnes says:

You can do this:
func multiple(a, b string) (a1, b1 string) {
a1 = b
b1 = a
return
}
You have to call them by different names unfortunately.
But you don’t have to specify that you are returning a1 and b1

Seo Fernando says:

Print L N = print line new .-.

Chris Thirst says:

So a space gets included when printing two strings? That is weird isn’t it?

Micro Labs says:

thx

Sylvain Duford says:

Great video as usual, but you really should get yourself a quieter keyboard,..

Thanks

Mr Grimod says:

What the hell is happening on the screen in the background of your room? Is an AI playing Minecraft?

Lobsnag Tsering says:

thanks bro

Jakob Lindskog says:

:=

The penis operator

anthony budd says:

10:04 why is there a space between “hey” and “there”, you didn’t add a space in the code?

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!