snapapps / edgy

a visual programming language inspired by Scratch
http://snapapps.github.io/
GNU Affero General Public License v3.0
51 stars 21 forks source link

Update Hamiltonian Circuits Example #413

Closed cyderize closed 8 years ago

cyderize commented 8 years ago

This changes Hamiltonian Circuits example to remove use of global variables.

The result list is just returned by the function rather than as a third parameter (but if doing that is clearer then I'll change it to be a parameter instead). I'm not sure if this is more or less confusing than before, though.

stevenbird commented 8 years ago

Thanks @cyderize – I prefer this style.