Coding Global Background
Coding Global

are multiple If statements less performant than solving it as an If- else statement?

Archived 4 years ago
1
2 messages
1 members
Created 4 years ago
Updated 4 years ago
Open in Discord
Z
ZLP
Verified
I'm currently learning how to write codes with this course:
https://java-programming.mooc.fi/part-2/2-repeating

something crossed my mind however, in the course they talk about how multiple if statements are easier to understand than if/Else statements while archiving the same effect, but what about performance, what would it look like if you used both options exessively, what would perform better?
UnoRouter AI API

Replies (2)