Live data from Hacker News

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

news.ycombinator.com

1–10 of 29 posts

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

#3
- pay someone

- open source it

- reframe the arch in another example you can share (pull out the important parts and showcase them)

- describe the arch (in some detail) and ask about potential issues

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?

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

#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 experienced. The most useful feedback is going to be the one the software gives you.

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

#8
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…

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.

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

#9
Reading other people's code is perhaps the second most important skill after programming.

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

By analogy, we learn to code-babble by working on projects, and by reading other people's code, we learn to filter.

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.

[1] https://www.lesswrong.com/posts/i42Dfoh4HtsCAfXxL/babble

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

#10
I’d say it really depends on WHY you want feedback. And perhaps who you are / what the code is doing for you (fun side project to build your skills vs MVP of your new funded startup).

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.

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.

Post reply on HN