17 Jan
2013
17 Jan
'13
8:15 p.m.
Hi all, Inspired by a blog text, I've spent some time adding "const" in a number of places. Adding const tends to spiral out of control if it was not used when code was written, meaning that you will have to add const in many other places where it should have been when it was first written.
Please be very aggressive in adding "const" to any code you write. It will help us understand code better and will prevent bugs from creeping in.
If "const" is new to you or you're a bit rusty on the topic, read this: http://www.cprogramming.com/tutorial/const_correctness.html
Thanks a bunch, Cheers, Johan