TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Structure of your side projects

3 点作者 lnalx超过 7 年前
New side project on the road!<p>I&#x27;m the kind of guy who always looking to the future of my project and tries to well-think (maybe over-think) the project architecture.<p>In my company, I&#x27;m obsessed with microservices and I&#x27;d to keep the same granularity on my side project architecture (code reuse for each service for a completely decoupled service...).<p>What&#x27;s your POV about thinking a new structure on a side project?

3 条评论

andreasgonewild超过 7 年前
The thing about side projects is that you&#x27;re free to go wherever you want, no one is watching over your shoulder any more. It&#x27;s a damned shame when they get lost in tar pits trying to live up to someone else&#x27;s standards. Side projects should be about passion, about solving interesting problems; and cutting corners is the fastest way to get there. And in the end, knowing which corners to cut and when is what separates the pros from the not yets, that&#x27;s where 10x comes from.
krapp超过 7 年前
Currently, I&#x27;m trying to organize all of my game development code (such as it is) as sub-projects in Visual Studio, with a single location for external libraries (SDL2, Lua, etc.) and a single repo pushed to Bitbucket. Visual Studio doesn&#x27;t seem designed for that, so it&#x27;s awkward, but it works.<p>And for web development, Just a separate folder for each project and XAMPP. I&#x27;m a dinosaur and never even started working with a VM until recently, so I&#x27;ve got one Hack project running in Vagrant, but I still prefer XAMPP.<p>Other than that, I don&#x27;t impose a lot of structure on my projects because my side projects are more about education and exploration than trying to come up with a MVP or resume filler (although I&#x27;d probably be in a better position if I thought more about the latter than the former.) Just enough structure to make it easy to start and archive, then as much anarchy as I want.
user7878超过 7 年前
Make architecture as below: 1. Use common code where even possible like for crud operation a single class that handle operation based on entity provided(Dapper.Exention library for .net ORM). 2. Try to create code generator using templates. 3. Use common and well known libraries to manage common operation like logging, mail sending etc put those in sub project - in case need to change library just a sub project require changes.