Go Programming (golang) - 06: Scope

Published: 12 February 2016
on channel: digerati
2,269
20

Learn Go programming, from beginner to pro!

We learn where to define our variables and how the scope can affect our code. Each variable is defined in a scope and can be accessed by the scopes below it.

A good definition:
"Scope refers to the visibility of variables. In other words, which parts of your program can see or use it. Normally, every variable has a global scope. Once defined, every part of your program can access a variable."

Twitter:   / digerati_online  


Watch video Go Programming (golang) - 06: Scope online without registration, duration hours minute second in high quality. This video was added by user digerati 12 February 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,26 once and liked it 2 people.