You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -619,7 +619,7 @@ Within the body of a loop, assume that the loop action is successful and immedia
619
619
620
620
####Local Variables
621
621
622
-
Withinthebody of a loop, assume that the loop action is successful and immediately updateallpointer variables. If an exception is later detected on that loop action, back out the pointer advancements as side effects of a conditional expression following the loop body.
622
+
Never use local variables. Whenever you feelthetemptation to use one, make it into an instance or static variable instead to unselfishly share it withallthe other methods of the class. This will save you work later when other methods need similar declarations. C++ programmers can go a step further by making all variables global.