Skip to content

Commit 498ae46

Browse files
jagdish-15kahgoh
andauthored
Update exercises/practice/bob/.approaches/introduction.md
Co-authored-by: Kah Goh <[email protected]>
1 parent 6def244 commit 498ae46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/bob/.approaches/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ This approach uses an array of answers and calculates the appropriate index base
121121
Choosing between the method-based approach, `if` statements, and answer array approach can come down to readability and maintainability. Each has its advantages:
122122

123123
- **Method-Based**: Clear and modular, great for readability.
124-
- **`if` Statements**: Compact and straightforward, suited for smaller projects.
124+
- **`if` Statements**: Compact and straightforward.
125125
- **Answer Array**: Minimizes condition checks by using indices, efficient for a variety of responses.
126126

127127
Experiment with these approaches to find the balance between readability and performance that best suits your needs.

0 commit comments

Comments
 (0)