Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Order functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Feb 15 2008 :  11:24:19 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 15 2008 :  8:56:51 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Feb 18 2008 :  02:55:25 AM  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000