Re: [go-nuts] Re: 'go run hello.go' taking ~30 seconds on windows

2023-09-19 Thread Hoo Luu
Windows defender slows apps first time ran. I had replaced several hard disks(HDDs and SSDs) and reinstalled OS systems(win7,win10,win11), nothing changed. After turning off windows defender, everything returns to normal. 在2023年6月24日星期六 UTC+8 02:00:20 写道: > Hi Declan, > > What's the full code?

[go-nuts] Re: I am not in favor of generics.

2018-09-18 Thread Hoo Luu
在 2018年9月18日星期二 UTC+8下午7:29:37,Chris Hopkins写道: > > Pondering this, my concern is that it might become too powerful. I'm > scared this will make it harder to work out what someone has done if > there's too much indirection and magic added on top. It feels like it could > be a really *really* bi

[go-nuts] Re: A test for generics

2018-09-17 Thread Hoo Luu
Considering there are already many concerns about complexity introduced by generics, the situation will be even worse when generics arrive without eliminating the built-in magic stuff. Then is generics really worth the trade-offs? Does the gain outweigh the pain? 在 2018年9月18日星期二 UTC+8上午8:02:41,a

Re: [go-nuts] Re: Ternary ... again

2018-08-16 Thread Hoo Luu
t,its readability would no worse than if statement). 在 2018年8月17日星期五 UTC+8上午6:30:41,Matthias B.写道: > > On Wed, 15 Aug 2018 07:46:51 -0700 (PDT) > Hoo Luu > wrote: > > > 在 2018年8月15日星期三 UTC+8上午12:43:37,Mark Volkmann写道: > > > > > var color = temperature > 100 ?

[go-nuts] Re: Ternary ... again

2018-08-15 Thread Hoo Luu
在 2018年8月15日星期三 UTC+8上午12:43:37,Mark Volkmann写道: > var color = temperature > 100 ? “red” : “blue” Although this feature will not be accepted, we could just talk about it. I prefer 'if-expression' to ternary. var color = if temperature > 100 { "red" } else { "blue" } vs. current if stateme

[go-nuts] Re: Ternary ... again

2018-08-15 Thread Hoo Luu
在 2018年8月15日星期三 UTC+8上午12:43:37,Mark Volkmann写道: > > var color = temperature > 100 ? “red” : “blue” > Although this feature will not be accepted, we could just talk about it. I prefer 'if-expression' to ternary. var color = if temperature > 100 { "red" } else { "blue" } vs. current if statemen

[go-nuts] Re: Language is a platform, which golang still does not pay attention to !!!

2018-04-06 Thread Hoo Luu
在 2018年4月7日星期六 UTC+8上午12:48:56,Doğan Kurt写道: > > > > On Thursday, April 5, 2018 at 7:26:19 PM UTC+2, bingj...@gmail.com wrote: >> >> Almost 10 years golang appears in the world. 10 years is not a short >> duration. I think if it is not popular until 2020, it will never be popular. >> > > I think