Coding Global Background
Coding Global

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

Archiviert 4 years ago
1
2 Nachrichten
1 Mitglieder
Erstellt 4 years ago
Aktualisiert 4 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?
UnoRouter KI API

Antworten (2)