Another explanation why const is a really powerful tool.
Please declare your variables as const
by Bartlomiej Filipek
From the article:
When using const the resulting code will be more verbose, explicit, cleaner (with probably smaller functions) and safer. Not to mention that you’ll get additional help from the compiler.
Add a Comment
Comments are closed.