rajeev-logics / go-tour

Automatically exported from code.google.com/p/go-tour
0 stars 0 forks source link

Misleading hint on slide 43 "Exercise: Loops and Functions" #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the gotour and look at the slide 43 "Exercise: Loops and Functions"

What is the expected output? What do you see instead?
  The hint is misleading.  Looking at the provided Newton formula, there is z in denominator.  The hint suggest using z := 0.0 as a starting point.  This directly leads to division by zero.

  It'l be better to use another value for the hint.  For instance 1.0. or x/2.

What version of the product are you using? On what operating system?

   I think the last from repository.  I checked it out yesterday.

Please provide any additional information below.

Original issue reported on code.google.com by Radek.Hnilica on 22 Oct 2011 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by a...@golang.org on 22 Oct 2011 at 2:36

GoogleCodeExporter commented 9 years ago
I just clone gotour and create patch for this issue.  But it takes a time to 
know how all the development proces works and what to do.

Original comment by Radek.Hnilica on 25 Oct 2011 at 5:25

GoogleCodeExporter commented 9 years ago

Original comment by r@golang.org on 18 Dec 2011 at 4:53