From Rosetta Code
This is not an idiomatic or good example of Go code.
- Identifier names should not have underscores and no leading underscores. Names like
tBarare also non-idiomatic.
- Function/method comments are usually in
/* */. They shouldn't be wrapped so short and they should be written for reasonable godoc parsing (e.g. start with a summary sentence that starts with the name of the function/method/type).
- Receiver names should not be
The overall structure and quality of this example is also sub-par.
It's been refactored on two separate occasions since this was posted. How do you feel about it now?