In my spare time, I like to develop various small libraries and CLI utilities that solve a real problem I have, but are also likely useful to other people with the same use case. When I say small, I mean that the LOC count is modest and the scope is limited - but the program itself is not trivial does solve a real problem.
I am obviously comforting working independently, setting my own goals and directing my projects. I also have substantial professional experience. However, I feel like it would still be very useful to get a code review from another programmer (ideally someone who knows things I don't). How can I get people to do this? I'm not talking here about an extensive audit of my code, since I wouldn't expect someone to donate skilled labor for free. Somebody just spending a few minutes to look over parts that interest them and pointing out anything that stands out would be enough.
I would judge the quality of my code to be good (who wouldn't, right? :) ). I try to challenge myself and follow best practices, make clean git branches and history, comment where appropriate, modularize the code, put thought into how things are named and generally make it easy for someone unfamiliar with the code to navigate it. That someone is often me, since I often go weeks or months without looking at my codebase, until a new feature or bugfix is needed, and by then I'll have forgotten most of it, so I try to design my code so as to not demand too much context or familiarity. I would be happy to improve the code quality further, but at this point it's counterproductive for me to try and blindly improve everything without knowing what particular area is lacking. For example, does it need a comprehensive API reference doc? Are the modules too long and need to be broken up? Are the interfaces unclear? Is the code style not good? Is the use case not well explained? These are the kinds of things I feel I need a second opinion on.
Some ideas, I've had, but seem like they don't work:
- Just waiting for people to organically discover my Github repo seems like a losing battle
- Code Review at StackExchange seems focused more on shorter snippets that can be posted in a question. My projects are already fully fledged packages comprised of multiple source files, with releases to a package repository, you would really need to clone the repo and open it with an IDE to read the code comfortably.
- I don't have any friends who could/would review my code for me :(
- Although I work as a software developer, my colleagues would likely not find my work interesting, and I'd also like to have some separation between personal and professional life.
- Hacker News occasionally has people showing their work, but the projects I see tend to be significantly more ambitious than what I develop.
- I'm not a heavy Reddit user but from my casual experience, it seems like the userbase is heavily skewed towards novice programmers, at least in the big subreddits where I see people share their projects (so the opposite problem of Hacker News). Also, I would like to advertise on places like Reddit after I've had some genuine users test it for a bit, so that the project is more presentable when I share it and I can gain some users.
What are some good ways of getting code reviews of my hobby projects, when the project is not a tiny beginner project (ie. it solves a real problem and has a realistic use case) but also not big enough to brag about (it is utilitarian, trying to do a simple -and useful- thing well, rather than a very ambitious goal).