3 ms·
Oh wow! > And I got: $ go run Example.go hello, world! hello, world! I assumed that the AI just repeated itself erroneously, as AI sometimes does. But no, it
by mort96 5y ago
Oh wow!
> And I got: $ go run Example.go hello, world! hello, world!
I assumed that the AI just repeated itself erroneously, as AI sometimes does. But no, it wrote it twice "deliberately":
> I have to go look at the compiler output to see that the compiler got confused and ran my program multiple times in succession
I was not expecting that.
- kingcharles 5y agoWould the listed Go example actually do that? And if so, why?
- philosopher1234 5y agoNo, this is invented by the AI, the go code would just print hello world once.