0

What do we call the statement in a code that is not being used at all

for example when programming hello world program, and import math, the last one is not necessary nor being used at all. So my question is: what do we call that part of the code that is not being used and will not be used at all? Thank you!

17th Jul 2020, 11:56 PM
Mohammad Ala Tahhan
Mohammad Ala Tahhan - avatar
2 Respostas
+ 3
An unreachable or a dead code.. In computer programming, unreachable code is part of the source code of a program which can never be executed because there exists no control flow path to the code from the rest of the program. Unreachable code is sometimes also called dead code, although dead code may also refer to code that is executed but has no effect on the output of a program. -WIKIPEDIA
18th Jul 2020, 12:20 AM
Saphal Poudyal
Saphal Poudyal - avatar
0
Thanks a lot Ćheyat !
18th Jul 2020, 12:49 AM
Mohammad Ala Tahhan
Mohammad Ala Tahhan - avatar