some modern composers do not use key signatures. this is often the case when the music is atonal or not very firmly in one key. if there are lots of sharps and flats and the bars are very long they may write accidentals in front of every note that needs one instead of just once in a bar. this should be explained at the top of the music. it may also be because the piece is modal.