Design Patterns · Junior · Question 59 of 75

What should you do with dead code (unused functions, unreachable branches)?

Explanation

Dead code confuses readers, gets "maintained" for nothing and can be bundled to users.

Further reading

Problem with a question

Design Patterns · Junior · question 59

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz