Coding Global Background
Coding Global

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

Archiviert 3 years ago
1
2 Nachrichten
1 Mitglieder
3 years ago
In Discord öffnen
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?

Antworten (2)