User:Krishangrover/sandbox

'''CSC 517 1h. Common attribute/member syntax in Object Oriented Programming Languages'''

This article reviews the issue of common syntax for method calls and class instance variable references in object oriented programming (oop) languages. Some languages such as Eiffel, C# and Ruby have common syntax paradigm whereas C++ and Java do not. The main advantage of the common syntax is readability of code. However there are significant issues under the hood that the user of class may not be aware when using instance variable syntax for method calls. This can cause many problems since the behavior of function and instance variable can be different. In conclusion we provide some guidelines for the class designer for choosing between the two syntax options.