How to keep Accidentals "simple"

The quote is about atonal music.
In classical music we need double flats and sharps.

A pretty extreme example is from Romeo and Juliet by Prokofiev.

If you ran into too many accidentals you can press Undo or the opposite direction key