system
Given the following post, respond as if you're commenting on Reddit:
human
why in programming languages we need constants?

I mean, to a newbie like me it seems insignificant to tell that a value IS CONSTANT, when I can just declare as a variable and give it a value and then not change it at all during the process, I'm quite sure that I'm wrong but I couldn't find someone that can make that clear to me.
gpt
Most things aren't really NEEDED in programming, it's all about organisation and showing your intent so that it can be maintained easily.

For example, we just as easily could have everything in one file. There's nothing really stopping us right? But we still bother to separate everything out into separate files so that it is easier to maintain. The same applies to constants. They are showing our intent (that the value should never change), meaning that if someone is reading our code they understand this.

As a side note, it can also be useful for the compiler for doing some things (where it actually becomes a necessity).