Hi Volker, > On 25. Feb, 2021, at 08:46, Volker Dobler <dr.volker.dob...@gmail.com> wrote: > > I think there is a major problem with "go run main.go": It creates > a _false mental model_ of how Go code is built and executed in the > minds of _beginners_.
I am a Go newbie and I agree, though I immediately understood that "go run ..." should only be for the developing/testing phase. But then, I did a little C before and know about what compilers do. But I also found tons of stuff immediately that said to "go build ...". Also, experience is good, but RTFM is also good, especially when starting with something completely new. Maybe rename the "run" command to "test", so it would be "go test ..." instead of "go run ..."? Just a thought. Cheers, Paul -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8A8A78A9-DB55-4608-BF91-B4E98F827320%40gmail.com.