AFAIK the compilers for embedded systems translate the switch-statements to jump tables, hence we might perceive this construct as an abstraction for a certain low-level structure(s).
Of course, looking from the developer's perspective only it is just an oversized if..else if..else-statement with indentation problems.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
AFAIK the compilers for embedded systems translate the
switch
-statements to jump tables, hence we might perceive this construct as an abstraction for a certain low-level structure(s).Of course, looking from the developer's perspective only it is just an oversized
if..else if..else
-statement with indentation problems.