I try to keep the pronouns consistent throughout a paragraph. This generally means I can talk about a user (2nd person), the author or programmer if that is me (1st person), and some distinction between 3rd person singular and plural. Though I rarely need as many as 4 referents. I avoid using genders to disambiguate.