TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unwritten Coding Standards: Function Ordering

3 pointsby frenchie4111about 4 years ago

1 comment

cratermoonabout 4 years ago
I 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?<p>Oh one other aspect that the author doesn&#x27;t mention is for OO languages that have public&#x2F;protected&#x2F;private or other decorators like static, virtual, default, etc, what&#x27;s a good order?