I’m pretty sure that is rose colored glasses…

It is a pain, but at the same time, the lack of dynamic code modification is 
more of a pain, coupled with no private methods in file scope (because with 
those you could decompose the larger functions without polluting the namespace).

But in many ways, the inability to test/debug “interactively” does force you 
down the road to better design - but when you are debugging someone else’s code 
that’s a whole other issue...

Test cases mitigate the problem immensely.

> On Jan 9, 2019, at 9:49 PM, Ekow <[email protected]> wrote:
> 
> 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] <mailto:[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] 
>> <mailto:[email protected]>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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