Welcome to Simple Programming
A code smell is any characteristic in the source code of a program that possibly indicates a deeper problem.
Code smells are usually not bugs; they are not technically incorrect and do not prevent the program from functioning. Instead, they indicate weaknesses in design that may slow down development or increase the risk of bugs or failures in the future.
Bad code smells can be an indicator of factors that contribute to technical debt.