
By the title of this post, you might already know what I’m going to tell you today. You might think that using strings in code might not be that harmful to your project but believe me, it will.
Why?
Each advice you get should start with the question “why?”. So let me explain why you should care about using strings in your code in a proper way! ?
The first of all, you shouldn’t hardcode values in your code in the first place! Of course, this is not always possible, but the programmer should always strive for greatness. ?
When using a lot of strings in your code, it’s starting to get messy. You have to remember where you put specific text, and if you are using the same strings in multiple places, then you have a problem. Especially when you want to make some changes… ?
Continue reading “Use strings in a clean way!”