Is public const bad?
- 4/21/2022
- 3 minute read
Is declaring a number or string as public const considered bad practice? Let's have a look what a const variable means in the first place.
Let's find out and also check what are the alternatives.
Topic
Is declaring a number or string as public const considered bad practice? Let's have a look what a const variable means in the first place.
Let's find out and also check what are the alternatives.