sentence: many languages , including most functional programming language and recent imperative languages like java , replace pointers with a more opaque type of reference , typically referred to as simply a reference , which can only be used to refer to objects and not manipulated as numbers , preventing this type of error .