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: Latest guidelines on how to set up a project in X langauge

2 pointsby rrishi10 months ago
Hey HN,<p>A lot of you are probably acquainted with the resource learnxinyminutes. It provides a decently wide peep into a language&#x27;s syntax and basics.<p>But often that&#x27;s not sufficient to build anything decent by the latest guidelines&#x2F;conventions of the language&#x27;s community.<p>For example, look at this https:&#x2F;&#x2F;matt.sh&#x2F;python-project-structure-2024. The author has done an excellent job of distilling the best practices associated with python.<p>Is there a resource like this for other languages ? Ideally something like learnxinyminutes for setting up projects in a language and idioms etc.

1 comment

austin-cheney10 months ago
I don&#x27;t mess with tech stacks, so I immediately jump to the business end of things.<p>1. Start with a specific goal. What is the thing I want to build and what 1 problem does it solve. Other features can come later.<p>2. Backwards plan. You generally know what you need to make this 1 thing work and some vague idea of how to organize the pieces. What ever is missing then becomes either a gap or a dependency. If you have written a lot of original software you are in a fantastic place because you can butcher from prior projects.<p>3. Start with the entry point. In Rust its <i>fn main</i>. As a TypeScript lover I just create some arbitrary file.<p>4. Build the platform code required by your language. In Rust its a crates file and in Node its a package.json file.<p>5. Bring in only the dependencies requires to build the minimal code.<p>6. Get as far as you can before you need additional dependencies.<p>This is how to get up and running doing real automation as quickly as possible.