A good writer makes characters sympathetic, well-rounded, or complex even though the writer may not be like the character or share his or her attitudes and beliefs. This allows for a sense of realism. For example Leo Tolstoy's novels are widely regarded as having created complex believable characters.
You have to reveal some basic facts to the reader about a character. The reader might need to know many things about a character: appearance, age, gender, educational level, vocation or occupation, financial status, marital status, hobbies, religious beliefs, ambitions, motivations, etc. Often these can be shown through the actions and language of the character, rather than by telling the reader directly.
One exception to this might be in Fan fiction, when a writer is using characters already familiar to the reader, but perhaps in a setting not shown in the series or in an Alternate universe (fan fiction) setting. In this case, the writer might include a note at the beginning to avoid reader confusion, an example being the ages of the characters.