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.

Ask HN: Programming Without Files and Folders

2 pointsby valtyover 1 year ago
I hate having to organize code. It&#x27;s annoying to move functions into their own files and then decide on a hierarchy to group them in folders.<p>What are my options?

2 comments

gregjorover 1 year ago
You can put it all in one big file that will ensure no one contributes or tries to maintain the code.<p>I think your best option is not to swim against the current. The vast majority of developers organize code in files and folders because people can easily understand hierarchies. Developer tools (IDEs and editors) have good search and fuzzy find built-in so you don&#x27;t have to click through folder hierarchies to find a file, or find where a function gets defined.
评论 #39189611 未加载
__dover 1 year ago
Use Lisp or Smalltalk?<p>They have an &quot;image&quot; which contains everything (including the system-provided libraries), in a single file, and rely on the development environment to navigate to classes,functions, etc.
评论 #39189671 未加载