Any tips on building production ready apps?
Rutik Wankhade
4 replies
For my hobby projects, I focused on just making things work and didn't think about performance much. But now I want to change that. I want to learn how to write production-ready code with keeping performance in mind. where do I start? what approach do you follow?
Replies
Aksel@haksel
Web3hunter
Here there's two different things :
Production-Ready and Performance.
Of course we start thinking about Performance to become production-ready.
In my opinion, you can start a project thinking about the production ready without overthinking it by :
- choose popular frameworks (better documentation and community)
- choose wisely the libraries you gonna added to your project (community, maintaining, etc)
- keep your code clean and follow best practices as much as you can without overthinking it (you can recognize that you overthink something when you are stuck in while to figured out)
- when you work with Data think about googling best practices for data structure (it help to remind yourself)
- think about less is more by design.
Overall this coding habits can create a better project structure that if you decide to go production will reduce optimizations tasks.
Now sometimes optimization is Evil (honestly most of the time if the project still on your dev env). i suggest Host, Test (decent performance) -> Get users -> Improve -> Repeat
Enjoy building 😊
Share
Tabwave
@ml_online Thank you so much for sharing . exactly what i needed
Collabwriting
You need performance challenges to solve for you to learn it. So don't overthinking it, just build anything that can reach users and rest will come into place 😄