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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How do solo devs get feedback on their code?

38 点作者 guinness74大约 4 年前
For solo devs working on a closed source codebase, how do you get feedback on design and implementation decisions?<p>In the past, I&#x27;ve asked friends in the field I trust, but I&#x27;m wondering if there&#x27;s a better option out there.

22 条评论

rahimnathwani大约 4 年前
Write a blog post about:<p>1. Your problem<p>2. The solution you chose<p>3. Your strong belief your solution is the best, and that no one can possibly find any fault in it.<p>Then post it to HN and wait for people to school you :)
评论 #26618216 未加载
sdevonoes大约 4 年前
&gt; For solo devs working on a closed source codebase, how do you get feedback on design and implementation decisions?<p>As a solo dev, not getting feedback is the &quot;best&quot; part for me; I work on projects on my own just because of this. I&#x27;m the god of my tiny worlds, no one gets to judge them (positively or negatively). I write code as I see and the outcome always pleases me. I don&#x27;t need feedback when I code for pleasure.<p>As an employee, sure I get feedback of my code via code reviews. This is fine as well.
verdverm大约 4 年前
- pay someone<p>- open source it<p>- reframe the arch in another example you can share (pull out the important parts and showcase them)<p>- describe the arch (in some detail) and ask about potential issues<p>There are different levels to consider design feedback, from overall arch to detailed (appropriate) use of language constructs. Is it maintainable, easy to change, easy to understand?
dave_sid大约 4 年前
I just raise a PR with myself as the reviewer. It works most of the time but it can get pretty heated when I have arguments with myself over code styles and test coverage.
melenaos大约 4 年前
We don&#x27;t. Unfortunately this is one of my problems for been solo developer. I also don&#x27;t have anyone to discuss the features and the architect decisions i need to take.<p>I do have some developer friends to talk to when i need to get it out and once in a while i team up with one of them to create something. That way I learn new things and get some feedback but nothing close to what i had back then when i was working in a company.
HomeDeLaPot大约 4 年前
Spitballing here. Read other codebases, read books about patterns and practices and architecture, read language and library documentation, and then go back and re-read your code?
segmondy大约 4 年前
By running the code. Let&#x27;s say the code is bad. The software will let you know if there&#x27;s a logical error. The software will be hard to maintain when you want to update it, The software will be hard to use when users try it. There&#x27;s no feedback like the one the software gives. The proof is in the pudding. If you&#x27;re new to software and a junior developer, then outside feedback is much needed, but once you&#x27;re experienced. The most useful feedback is going to be the one the software gives you.
评论 #26614794 未加载
评论 #26618761 未加载
评论 #26614247 未加载
PartiallyTyped大约 4 年前
Reading other people&#x27;s code is perhaps the second most important skill after programming.<p>There&#x27;s a great analogy in the essay Babble [1]. In the essay the author explains the process with which humans construct sentences. They say that we learn to babble, we perform a search in the space of all possible sounds, we weigh those possible continuations, select the most probable and filter them using some function. As we grow and through multiple interactions with others and in particular our parents, we improve our filter function. In tandem, we also need to improve our babbling function, that is, we need to improve the search space and the weighting that we give to the noises so that we chain them in interesting ways.<p>By analogy, we learn to code-babble by working on projects, and by reading other people&#x27;s code, we learn to filter.<p>The author notes that it is of equal importance to train both filters in the case of speech, as deficiens in one can leave you either mute or appear as uninteresting, or incoherent. By analogy, deficiency in code babble leaves you unable to construct interesting patterns, and deficiency in code filtering leaves you with a create but otherwise garbage of hot spaghetti.<p>[1] <a href="https:&#x2F;&#x2F;www.lesswrong.com&#x2F;posts&#x2F;i42Dfoh4HtsCAfXxL&#x2F;babble" rel="nofollow">https:&#x2F;&#x2F;www.lesswrong.com&#x2F;posts&#x2F;i42Dfoh4HtsCAfXxL&#x2F;babble</a>
jyu大约 4 年前
I used <a href="https:&#x2F;&#x2F;www.pullrequest.com" rel="nofollow">https:&#x2F;&#x2F;www.pullrequest.com</a> just to pay someone else to look at my code and make suggestions. Aside from just the normal nitpick styling stuff, they usually have decent architecture suggestions and help you avoid making costly mistakes. It&#x27;s not cheap, but my project is a full time effort that makes money and I found it worthwhile.
devoutsalsa大约 4 年前
The answer is literally don’t work alone. You’re code is your baby. How do you get someone else to raise your baby? Make it their baby, too.
kkoppenhaver大约 4 年前
Anecdotally, for myself I&#x27;ve just been able to talk about my code with some trusted friends in more general terms, to get around not being able to share proprietary code and have gotten some good ideas that way.<p>I&#x27;m actually working on spinning up a service around this (specific to WordPress developers for now). Designed to help freelancers and other developers who are feeling stuck and just want some coaching&#x2F;advice, specific help on projects or specific problems, or confidence having someone behind them as they take on bigger&#x2F;more complicated projects.<p>We&#x27;ve been piloting it with a few people so far and have caught some things early that, if they were built, would have caused some headaches down the road that we were able to help avoid.<p>I don&#x27;t know how well that scales or if it applies to other spaces, but I feel like there are people who specialize in different stacks that could offer a service like this as well.
papaf大约 4 年前
I have been in this position a few times and I recommend using static analysis and linters e.g FindBugs for Java, CppCheck for C++.<p>Personally I only use a debugger when there are bugs, but I know some people who debug the code when they are developing to check that it is doing what they want.
corry大约 4 年前
I’d say it really depends on WHY you want feedback. And perhaps who you are &#x2F; what the code is doing for you (fun side project to build your skills vs MVP of your new funded startup).<p>If it’s just to improve your craft, I’d say there are lots of ways to learn without peer review. Studying other code based, open source, etc.<p>But if you’re a founder building your first project, the quality of your code is like concern #999 in the list. As long as it works and the clients are happy, you have better problems to focus on (like how to grow users). Much of HN doesn’t want to hear that, but many (most?) $100m startups were stitched together with duct tape for the first n years. And you know what? It works out fine. You deal with the technical debt later as you need to.
misterbrian大约 4 年前
I have found that the best way to get feedback on anything code related is to draw it with a diagraming tool with as much detail is possible. Label each part of the diagram in some logical order and then include a brief description of each step. Posting a labeled diagram with a repo gets 10x engagement and feedback compared to just posting a link in my experience. My favorite diagramming tool is diagrams.net
foreigner大约 4 年前
I&#x27;d love a good answer to this. A couple months ago I struck out on my own with a non-technical partner, and I definitely miss peer code review.
afarrell大约 4 年前
I think:<p>1. Good feedback is hard to get outside of a trustful relationship.<p>2. Good feedback is important.<p>Consequently, I think it would be worth $300-400&#x2F;month of your employer’s time to have an ongoing relationship with a contractor with whom you could do code review and technical coaching sessions with.
itwy大约 4 年前
Your future self.
Jugurtha大约 4 年前
Mailing lists, IRC channels, Slack channels, and various channels of the stack you&#x27;re using. i.e: language and other components and dependencies of your project. StackExchange network works, too. (i.e: StackOverflow, ServerFault, etc.)<p>I read the code of of my project&#x27;s dependencies and learn from it. I receive the RSS feed of the GitHub repositories in my email client, read the change log, and very often I&#x27;ll see a commit fixing a bug or implementing a feature and go check how it was done.<p>This makes coming up with good solutions a lot easier, as sometimes instead of implementing the solution in your code, you either submit a pull request <i>or</i> extend the dependency, especially if it has a plugin architecture and solve the problem upstream so that the downstream part (i.e: your client code) isn&#x27;t too crazy. i.e: instead of the solution being maritime and going around a continent, you fix the geography and dig a canal so that the downstream solution is elegant.<p>You can have the IRC channels in your email client, such as Thunderbird. The Python IRC channel and mailing lists are great: top notch people will go above and beyond to help you. Case in point, here&#x27;s a question I posted to the mailing list <a href="https:&#x2F;&#x2F;mail.python.org&#x2F;pipermail&#x2F;tutor&#x2F;2015-April&#x2F;thread.html#105199" rel="nofollow">https:&#x2F;&#x2F;mail.python.org&#x2F;pipermail&#x2F;tutor&#x2F;2015-April&#x2F;thread.ht...</a> (<i>Good Taste Question: Using SQLite3 in Python</i>).<p>The people who replied were nice, informative, and patient.<p>Look at that yours truly douche trying to learn PCB design: <a href="https:&#x2F;&#x2F;www.electro-tech-online.com&#x2F;threads&#x2F;my-begginnings-with-cadsoft-eagle-critique-appreciated.122577&#x2F;#post-1012066" rel="nofollow">https:&#x2F;&#x2F;www.electro-tech-online.com&#x2F;threads&#x2F;my-begginnings-w...</a><p>Refine with every remark these generous members made about the board, assimilate the concept, and practice. My second board for a project was way better, but submitted nonetheless for critique again: <a href="https:&#x2F;&#x2F;www.electro-tech-online.com&#x2F;threads&#x2F;first-pcb-stepper-motor-controller-pic16f84a-uln-2003.126620&#x2F;#post-1051821" rel="nofollow">https:&#x2F;&#x2F;www.electro-tech-online.com&#x2F;threads&#x2F;first-pcb-steppe...</a><p>For quick, real-time conversations, IRC and Slack channels. For longer, deeper, conversations: mailing lists or forums.<p>The point is: put something out into the world, and let the world poke holes in it.
lewishogan大约 4 年前
If it&#x27;s working on a closed source code base, I think you&#x27;re not going to find many other options beyond looking at similar open source projects online, or finding and evaluating the merits of different design patterns.
anoncow大约 4 年前
I have mostly received feedback when I post parts of my code on stackoverflow with queries. (Sometimes, all I get are downvotes and an autocomment that my post is locked for not being good enough. Even that helps.)
hmmokidk大约 4 年前
you can create prs for your own work and review it yourself on a different day. or possibly get a mentor and ask them? i don’t have a mentor so idk
gitgud大约 4 年前
Open-source projects allow you to get feedback and hopefully contributions to a code base. You need to like open-source and have other people want to contribute to your project.<p>If you don&#x27;t want to do that, you most likely need to pay consultants to review the code.