are multiple If statements less performant than solving it as an If- else statement?
Archived 3 years ago
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?
