Hi, could you please assess my code for events skill tests?
I do appreciate for your review beforehand.
Hi, could you please assess my code for events skill tests?
I do appreciate for your review beforehand.
Hi @bedribulut
Nice work!
Here are my comments:
Correct. I think it would be a good idea to base the decision on the class name (and also change it accordingly). Texts in general tend to be changed over time. Using the class name feels more stable.
Both correct. Which version do you prefer?
Correct.Happy coding,
Michael
thank you so much for your review @mikoMK
for the 1st task, I just updated the code.
and for the 2nd, I do prefer the “switch” version.
have a nice evening.
Nice improvements.
I also prefer the “switch”.