In addition to what everyone has already said about asking before coding and learning the codebase before writing from scratch, you could step up and document these things as you learn them. Not only might it help in the learning process, it will make it easier on the next guy who gets hired.