Hi Anca,

Am 26.01.19 um 09:27 schrieb Anca Emanuel:
> How do you make an planing for that event ?
> 
> Here is my 
> implementation: 
> https://github.com/ancaemanuel/comb/blob/master/chess_tournament.go
> 
> This was not an easy problem. After some years of thinking an pencil work I 
> have an optimal solution.

Some remarks:

* Your code needs some comments that explain why it does what it does.
* The names you choose (n, d, i, j, k) don't tell us anything about
their meaning. Use intention revealing names.
* Did you try to write some test
(https://golang.org/doc/code.html#Testing) for your code? How do you
know it is correct without them?

Lutz


-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to