Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 13.1 incorrect statement about code in listing 13-6 #2599

Closed
dariuswiles opened this issue Feb 1, 2021 · 1 comment
Closed

Chapter 13.1 incorrect statement about code in listing 13-6 #2599

dariuswiles opened this issue Feb 1, 2021 · 1 comment

Comments

@dariuswiles
Copy link

The paragraph below listing 13-6 in chapter 13.1 states:

Now the expensive calculation is called in only one place, and we’re only executing that code where we need the results.

This is incorrect because the expensive calculation is called in several places, as the next paragraph of the book explains. I believe the incorrect statement may have been intended to say:

Now the expensive calculation is defined in only one place, and we’re only executing that code where we need the results.

@carols10cents
Copy link
Member

This was fixed in #2556. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants