enum #

enum is the feature that enables defining named constant values.

Effects of magic constants on code quality #

Let’s have a look at this code:

Get hands-on with 1400+ tech skills courses.