r/cpp • • Jul 20 '09

QT vs MFC

http://dobbscodetalk.com/index.php?option=com_content&task=view&id=1657&Itemid=
1 Upvotes

25 comments sorted by

View all comments

-3

u/gosh Jul 20 '09

I don't understand why frameworks use lower camel case like QT. it sucks!

-3

u/[deleted] Jul 20 '09

You mean they use "thisIsAClass" for their types? That's a shame.

I use "ThisIsAClass" for types and "thisIsAnInstance" for instances.

Funny how our personal coding styles can sometimes become so important. I've been working mostly on my own on a research type project for a few years and have grown desperately used to my own style. In fact I'm almost powerless when key format options aren't used like the 'm' prefix for class members.

1

u/last_useful_man Jul 23 '09 edited Jul 23 '09

They use QSomeClass, someObj->someMember().