An author should always keep his audience in mind. The trick is to know your audience. Even when there are 2 or more different audiences.
You can only keep so many things in your head at once. The trick is making sure they’re the right ones.