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: exercises/practice/bob/.approaches/introduction.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,8 @@ class Bob {
84
84
}
85
85
```
86
86
87
-
This approach utilizes nested `if` statements and a predicate for determining if a message is a shout. For more details, refer to the [`if` Statements Approach][approach-if].
87
+
This approach uses variables to avoid rechecking whether Bob is silent, shouting or questioning.
88
+
For more details, refer to the [method-based `if` Statements Approach][approach-method-if].
0 commit comments