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

Use Java streams to handle matching strings and refactor code #3

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

starbucksventi
Copy link
Owner

Java streams allow us to work off the pros of functional programming, namely readability in our context, within a primarily OOP-based code.

Let us use more switch statements in place of long if-else conditional
statements as this also improves readability.

Java streams allow us to work off the pros of functional programming,
namely readability in our context, within a primarily OOP-based code.

Let us use more switch statements in place of long if-else conditional
 statements as this also improves readability.
# Conflicts:
#	src/main/java/duke/Parser.java
#	src/test/java/duke/ParserTest.java
# Conflicts:
#	src/main/java/duke/Parser.java
@starbucksventi starbucksventi merged commit baa1a16 into master Sep 11, 2024
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

Successfully merging this pull request may close these issues.

1 participant