Translations:Development/Tutorials/Common Programming Mistakes/88/en

From KDE TechBase

Take, for instance, QString. They should always be passed into methods as const QString&. Even though QString is implicitly shared it is still more efficient (and safer) to pass const references as opposed to objects by value.