T O P I C R E V I E W |
znakeeye |
Posted - Feb 15 2008 : 11:24:19 AM Wouldn't it be neat to sort all functions alphabetically in both the header and implementation files?bar();
baz();
foo(); I believe this is "good" design, hence a useful VAX-feature. |
2 L A T E S T R E P L I E S (Newest First) |
znakeeye |
Posted - Feb 18 2008 : 02:55:25 AM Cool! I'll check it out. Also, I tend to use the same methodology as you do, but I know many programmers do want to sort their functions. |
feline |
Posted - Feb 15 2008 : 8:56:51 PM VA Outline allows you to quickly re-order items, and if they are single line functions (declarations in the header file) you can use VA's sort lines feature.
Personally I often have my functions in a sensible order, but that is nothing like alphabetical. Private functions tend to come first. Worker functions before the functions that use them. Functions for a common purpose tend to be grouped together as well. |