> But what if some bunch of code ran on the conditions where I might or
> might not need the variable.
Can you give an example?
The language counts any read from the variable as a "use",
if I understand it correctly. It doesn't matter if it's, say, only in
one branch of an `if`.
> I tried to print _ variable and got "cannot use _ as value" Error.
> What is the role/reason to declare _ variable in Go?
When you need a variable name in a declaration or assignment
but you're not actually interested in its value.
Chris
--
Chris "allusive" Dollin