We all know that writing const-correct code is important to write tighter, safer code that is easier to manage.
Here's a nice article i found which explains how to do so.
Be const-correct!
Good find! I've already been doing some of this, and I suppose it wouldn't hurt to go full out with it, when done correctly.
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
"I'll find out if what I deleted was vital here shortly..." -d3jake
-
- Posts: 363
- Joined: Thu Dec 16, 2010 8:50 pm
- Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..
dont be upset.kingdutch wrote:I hate the fact you always come up with links in chat when I talk about something. However I shall, as always, read the article, thanks for sharing
a fool is the man who passes down the best treasure of all, knowledge.
ent1ty wrote: success is a matter of concentration and desire
at a cost measure in computer resourcesButler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
Nice article, thanks for sharing. I'll try to make my code const-correct in the future
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames