Simply put (and this is mainly my own opinion based on experience): code with your brain, not with gut instinct. That is, try to write code that is consistent, well tested, and easy to read by other developers. Put time into thinking carefully about what your code should do, and how it can be make reusable. And outside of coding directly I would argue that simply being honest with peers about estimates and your capabilities also contributes to being a responsible programmer.