Quotessence
Home / Quotes / Quote / Image

Quote image editor Peter van der Linden

Back to previous page

“The keyword const doesn’t turn a variable into a constant! A symbol with the const qualifier merely means that the symbol cannot be used for assignment. This makes the value read-only through that symbol ; it does not prevent the value from being modified through some other means internal (or even external) to the program.” — Peter van der Linden

Quote 1080 x 1350 Instagram portrait
More
Platforms
Pure ratios
The keyword const doesn’t turn a variable into a constant! A symbol with the const qualifier merely means that the symbol cannot be used for assignment. This makes the value read-only through that symbol ; it does not prevent the value from being modified through some other means internal (or even external) to the program.
— Peter van der Linden