Pointer / References & Performance

Pages: 12
i read through this http://www.javaworld.com/article/2073723/core-java/why-getter-and-setter-methods-are-evil.html about "getter / setter are evil".

So getter/setter are evil because if you have 1000 getXX() in your code and now want to change it's type or something, you have to change every single getXX() call.

but what if you would just use the C++ 11 auto type?
I don't know why, but i actually don't like to declare my variables with auto, but it would be possible.

I don' know if I really understood the whole solution about avoiding getter/setter in this article, but somehow it reminds me about the way how android & java deals with the communication between classes/objects.
Helo all i need a programe....topic is filling here i need to add the data of five students their mobile number,address,sec, and deprtmnt....program should be like
s.no name address phone
1.
2.
3.
4.
5.
and starting should be like press 1 to insert data
press 2 to save data
press 3 to find data
press 4 to quit
Topic archived. No new replies allowed.
Pages: 12