The Uniform Access Principle was put forth by Bertrand Meyer. It states "All services offered by a module should be available through a uniform notation, which does not betray whether they are implemented through storage or through computation." This principle applies generally to object-oriented programming languages. In simpler form, it states that there should be no difference between working with an attribute, precomputed property, or method/query.
While most examples focus on the "read" aspect of the principle, Meyer shows that the "write" implications of the principle are harder to deal with in his monthly column on the Eiffel programming language official website.
Read more about Uniform Access Principle: Explanation, UAP Example
Famous quotes containing the words uniform, access and/or principle:
“He may be a very nice man. But I havent got the time to figure that out. All I know is, hes got a uniform and a gun and I have to relate to him that way. Thats the only way to relate to him because one of us may have to die.”
—James Baldwin (19241987)
“Lesbian existence comprises both the breaking of a taboo and the rejection of a compulsory way of life. It is also a direct or indirect attack on the male right of access to women.”
—Adrienne Rich (b. 1929)
“The first principle of a free society is an untrammeled flow of words in an open forum.”
—Adlai Stevenson (19001965)