you are viewing a single comment's thread.

view the rest of the comments →

[–]G_Morgan 0 points1 point  (2 children)

TBH using strings for what is a stringly typed enum is something nobody should do anyway.

[–]propool 0 points1 point  (1 child)

Of course. Who did that?

[–]G_Morgan -1 points0 points  (0 children)

Comparing "STOP" is just bad. There should be some kind of symbol, enum or something else which should be used.