It is a good kind of pain. 

This intentional construct forces you to only use what you need at the point 
where you actually need it. 

YAGNI.

Regards,
B Charles Jnr.

> On Jan 9, 2019, at 8:17 PM, Rich <[email protected]> wrote:
> 
> Yes at times it's a pain, after programming for a while in Go you just get 
> used to it, and I seldom run into an unused variable. Use Visual Studio Code, 
> you'll get a red squiggly line and an error long before you ever try to 
> compile the code. If you really want to keep the variable, variable=_ takes 
> care of it. 
> 
>> On Wednesday, January 9, 2019 at 5:01:52 PM UTC-5, Ian Lance Taylor wrote:
>> On Wed, Jan 9, 2019 at 1:46 PM <[email protected]> wrote: 
>> > 
>> > So, 2019 year. Still no compiler flag. Sloooophers :) 
>> 
>> This isn't a matter of being slow, it's an intentional decision. 
>> 
>> Ian 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to