Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Order functions

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000