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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: LOC for profitable solo dev projects?

2 点作者 ptrhvns超过 2 年前
Of course, lines of code can be used as a very poor measure for all kinds of things. However, I'm still curious: how many lines of code is your software project. I'm only looking for answers for projects where actual coding was involved, which are profitable, and where you are a solo developer. Maybe you could post the "SUM" value of running the "cloc" command, or something similar. If you feel comfortable, you might also mention the different programming languages you use for the project.

2 条评论

tobinfekkes超过 2 年前
When using &quot;cloc&quot;, I differentiate between my code and the &#x2F;vendor folder. I exclude the vendor folder because it makes it look like my project is i.e. 250k lines of code, when actually, 30k is my code, and 220k is a few SDKs that get imported.<p>The 30k is almost all my code (apart from some employee contributions for specific projects), and is very profitable. Also, even if it wasn&#x27;t, it&#x27;s still just fun.
shoo超过 2 年前
Do you have anything specific in mind in terms of business models when you wrote &quot;software project&quot;?<p>e.g. suppose a small business owner brings me on as a contractor to add a booking form to their website, and i write or copy a small amount of glue code, and invoice the client for $X, would this count?
评论 #34583003 未加载