News for hackers. Stuff that matters.
Re:Golang Diaries I by unwind on Monday June 17, 2013 @07:59AM (#5892654)
Yeah, the final comment on the bug is also from Mr Bray, and isn't exactly a "thanks".

I was quite surprised by that combination after reading the diary blog post, they don't really match up.

Re:Golang Diaries I by espadrine on Monday June 17, 2013 @09:46AM (#5893072)
That's because Tim Bray posted the blog post, after which he read the patch (the comment was submitted today).
Re:Golang Diaries I by corresation on Monday June 17, 2013 @09:43AM (#5893051)
Agreed, that bug is quite a bit different from the impression in the blog post. Tim is completely right, however: Why can't he use the automatically differentiated leading underscore test? And the fix of the documentation is, as he mentioned, just as wrong as it already was. Now I wonder if his bug comment was sarcastic, because it would be had I written it.
Re:Golang Diaries I by BarkMore on Monday June 17, 2013 @10:55AM (#5893518)
Why can't he use the automatically differentiated leading underscore test?

The go tool currently ignores all files with a leading '_' in the name. Changing the tool to use a file with the name '_test.go' complicates the rule for ignored files and might break an existing project. The workaround of using 'all_test.go' is not onerous.