Normally you don't have to code to stop people from abusing the language. There are almost always tricks and techniques to get around language restrictions, but the point of things like const and private are to make clear what the restrictions are and assume the user of the class will follow them.