![](https://programming.dev/pictrs/image/9de36669-449a-4be0-8e8f-8409552a6c64.png)
![](https://programming.dev/pictrs/image/c61dfed6-ab5d-4d8a-a30e-44002da3bd18.webp)
I’m always privating my repos because I’m not sure if I’m doing some horrible beginner inefficiency/bad practice where I should be embarrassed for having written it, let alone for letting other people see it.
Well that’s something not to do. Make you “horrible code” public, and ask people to do a code review. Or see what contributors want to change through a PR (if you’re so lucky). You’re not going to learn anything from others by hiding your mistakes. And no one besides you really cares if you’re committing horrible code.
It’s pretty hard to just give generic advice on how to write clean code, but if people can just tell specifically what you can improve it’s much easier
I think The Pragmatic Programmer by Andy Hunt and Dave Thomas is a great book everyone should read every couple of years. It’s not really a lot of “low level coding tips” - more like overall paradigms