in reply to Re^12: Psychic Disconnect and Object Systems
in thread Psychic Disconnect and Object Systems
This has no relevance to the original discussion.
The fact that you are confusing the C keyword const with the programming concept of "Constant (programming), a value that, unlike a variable, cannot be reassociated with a different value" isn't my problem.
To wit: in your entirely irrelevant examples above the const variable j and the const parameter k are reassociated with two different values each.
And although the language allows you to define const ints, you should know better.
Ints are passed by value, so there is no point in making them const. modifications cannot possibly leak scope anyway. Bad code is bad code, regardless of what point you thought you were trying to make with it.
Now please. If you cannot stick to the subject, just stop eh?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: Psychic Disconnect and Object Systems
by ikegami (Patriarch) on Apr 17, 2011 at 23:22 UTC | |
|