Hello, This is a question from ignorant in the meters of compilers and mediocre Go users at best, so it may be stupid.
I really like that in Go unused variable or import is compiler time error. As such I wonder why function like > func funTest(x int) int { > return 3 > } is allowed? I would guess that it is possible to check if function argument is used in function body or not, so it seem plausible to forbid it. Again, it maybe a stupid question from ignorant person. I have a lot things to learn about Go, but I'm stuck in learning about Unicode and UFT-8, so I guess it will be a long time before I can go back to learning proper Go. I read FAQ and I didn't remember answer to this question from it. This is my excuse for asking this question. Best regards, Kamil Ziemian -- 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/fda89503-fde5-4b5b-80c3-50e74da1dc51n%40googlegroups.com.