5 ms·
Unwritten Coding Standards: Function Ordering
- cratermoon 5y agoI wrote a lot of code for single-pass compilers and I still have a tendency to want to put things in reverse order. Are there any code tools that can arrange functions in a useful order like this, or do they all just manage to order alphabetically? Oh one other aspect that the author doesn't mention is for OO languages that have public/protected/private or other decorators like static, virtual, default, etc, what's a good order?