Assessment wanted for Events skill tests

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:

  • :white_check_mark: 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.
  • :white_check_mark: Both correct. Which version do you prefer?
  • :white_check_mark: Correct.

Happy coding,
Michael

1 Like

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.

1 Like

Nice improvements.
I also prefer the “switch”.

1 Like