Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Find a safe place to get high quality code reviews. I recommend high quality software projects like Rails or Postgres. The biggest aid to my creating better software is code reviews.

Also, put this[0] in your calendar and read through it once a month. Read through books on your stack, and choose a stack known for high quality.

I can't tell you the number of times I've worked with "senior" devs that weren't. The number one thing they had in common was hostility towards code reviews. Pay attention to the little details and start absorbing and following advice in code style guides. Take this[1] one, for example. Also, there are some rules of thumb worth following. I do my very best to avoid inheritance (outside of mocks / fakes for testing) and I move hard coded constants into config files with ENV overrides available. Avoid over-commenting and try to follow TDD if you can, since it makes your interfaces more from the point of view of the caller rather than the implementer.

It's hard to talk about these types of things over text, so if you want me to review some of your work feel free to reach out to me and I'll give you some more advice over a video call.

[0] https://en.wikipedia.org/wiki/Code_smell

[1] https://google.github.io/styleguide/pyguide.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: