[Development] Coding style proposal

Jiergir Ogoerg f35f22fan at gmail.com
Fri Jan 3 07:29:22 CET 2014


Alphabetically sorting is not "arbitrary like anything else" - we don't need
French philosophy and/or demagogy here, please.

It has merits but for Qt is simply not an option, and it's not causing "pain" me
or anyone else. Please refrain from dramatizing, it's just coding
style we're talking about here.

And we figured out the check box to sort methods out, thank you.


Jiergir Ogoerg wrote:
> Ironically, not even the IDE (QtCreator) sorts them out, in my example
> parse...() is the 1st in the list, and locale() is the last one (16th).

There's a "Sort alphabetically" check box in the context menu of
whatever-that-combobox-that-I-never-use-for-navigation-is-called.
Maybe using that helps to ease your pain.

The main point here is that there's no "intrinsic" ordering of function
implementation, and  "alphabetically sorting" is as arbitrary as anything
else.

The preferred way to locate a method in Qt Creator is to use the
Locator facility, i.e. press Ctrl-K to open the Locator, further 'm',
<space> to select functions: (independently of the file),  or '.',
<space> for  C++ symbols in the current file. There's no need to
guess where a function definition is, or rely on coding standards,
when you can jump there directly.

Andre'



More information about the Development mailing list