Live data from Hacker News

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

news.ycombinator.com

21–29 of 29 posts

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

#21
Anecdotally, for myself I'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.

I'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/advice, specific help on projects or specific problems, or confidence having someone behind them as they take on bigger/more complicated projects.

We'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.

I don'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.

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

#22
Mailing lists, IRC channels, Slack channels, and various channels of the stack you're using. i.e: language and other components and dependencies of your project. StackExchange network works, too. (i.e: StackOverflow, ServerFault, etc.)

I read the code of of my project'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'll see a commit fixing a bug or implementing a feature and go check how it was done.

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 or 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'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.

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's a question I posted to the mailing list https://mail.python.org/pipermail/tutor/2015-April/thread.ht... (Good Taste Question: Using SQLite3 in Python).

The people who replied were nice, informative, and patient.

Look at that yours truly douche trying to learn PCB design: https://www.electro-tech-online.com/threads/my-begginnings-w...

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: https://www.electro-tech-online.com/threads/first-pcb-steppe...

For quick, real-time conversations, IRC and Slack channels. For longer, deeper, conversations: mailing lists or forums.

The point is: put something out into the world, and let the world poke holes in it.

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

#23
post #7

By running the code. Let's say the code is bad. The software will let you know if there'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's no feedback like the one the software gives. The proof is in the pudding. If you're new to software and a junior developer, then outside feedback is much needed, but once you're experienc…

There's a much quoted aphorism with regard to getting feed back on fiction:

"If five people tell you there's a problem, they're almost certainly right. If they tell you how to fix it they're almost certainly wrong."

Getting feedback from the compiler is like this in spades.

While the act of trying to change, or even understand code which you wrote a while ago, will very likely to reveal it to be overly-engineered, incomplete, confusing, or some combination of all of these, it's very unlikely to come with a message saying, "And if you change it like this, all of these problems will go away."

You only get that by reading design advice and trying to apply it to your own work, and by looking at code which turns out to be better than yours and working out where the differences lie.

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

#25

Earlier quoted context omitted.

The most useful feedback will come from customers. If you have a bug or are missing a feature they will tell you. What is harder is dealing with architectural issues but I'm not convinced they are that easy to avoid in a team environment either.

> If you have a bug or are missing a feature they will tell you Reporting a bug takes work. Doing it clearly takes more work. Some percentage of people will do work for free. Relying on it is a choice with tradeoffs.

People don't report it for free, they are hoping for a fix in return.

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

#26
I used https://www.pullrequest.com 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's not cheap, but my project is a full time effort that makes money and I found it worthwhile.

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

#27
> For solo devs working on a closed source codebase, how do you get feedback on design and implementation decisions?

As a solo dev, not getting feedback is the "best" part for me; I work on projects on my own just because of this. I'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't need feedback when I code for pleasure.

As an employee, sure I get feedback of my code via code reviews. This is fine as well.

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

#29
I think:

1. Good feedback is hard to get outside of a trustful relationship.

2. Good feedback is important.

Consequently, I think it would be worth $300-400/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.

Post reply on HN